T function ( Class < T > arg0 ) { return mock ( arg0 , new Answer ( ) { @ Override public Object answer ( InvocationOnMock arg1 ) throws Throwable { throw new RuntimeException ( "srini_string" ) ; } } ) ; }
creates a mock that throws a runtimeexception if the system under testinvokes a method whose answer has not been configured . concode_field_sep PlaceHolder placeHolder concode_field_sep T dummy concode_elem_sep T stub concode_elem_sep T strictStub