Pages

Sunday, April 18, 2010

Dummy Objects

Dummy objects are used when methods require an object as part of their method or constructor. However, in this case the object is never used by the code under test. As such, a common dummy object is null.

No comments:

Post a Comment