void function ( ) { LoggedInUser loc0 = dummy ( LoggedInUser . class ) ; service . createCopyOf ( SOURCE_TASK_ID , loc0 ) ; }
i like this method because i can use the word dummy when i create my test double , but the downside that i have to create an object mother class that does the trick . concode_field_sep TaskService service concode_elem_sep Long SOURCE_TASK_ID concode_field_sep void createDummyInTestMethod concode_elem_sep void configureSystemUnderTest concode_elem_sep void createStrictDummyInTestMethod