void function ( ) { verifyZeroInteractions ( this . stdOutMock ) ; this . method . stealTheItem ( this . expectedTarget ) ; verify ( this . stdOutMock ) . println ( this . expectedStealMethod ) ; verifyNoMoreInteractions ( this . stdOutMock ) ; }
verify if the stealing step goes as planned concode_field_sep M method concode_elem_sep String expectedTargetResult concode_elem_sep String expectedTarget concode_elem_sep String expectedStealMethod concode_elem_sep PrintStream stdOutOrig concode_elem_sep String expectedConfuseMethod concode_elem_sep PrintStream stdOutMock concode_field_sep void testPickTarget concode_elem_sep void testSteal concode_elem_sep void testConfuseTarget concode_elem_sep void setUp concode_elem_sep void tearDown