A very lightweight method to create MockObject like stand-in objects for testing.
See:
- "Pseudo-Classes: Very Simple and Lightweight MockObject-like Classes for Unit-Testing"
GeoffSobering, LeviCook, StephenAnderson
OOPSLA 2004 (ps573)
http://portal.acm.org/toc.cfm?id=1028664&type=proceeding
Abstract: http://www.oopsla.org/2004/ShowEvent.do?id=573
PDF: http://www.geoff-s.net/tech/ps573-sobering.pdf
- "Unit Test More Efficiently with Mock Object Alternatives"
JavidJamae
http://www.devx.com/Java/Article/22599/1954?pf=true
CategoryMockObjects CategoryTesting