use double method to create dummy object. mock & stub methods are deprec...

...ated.