METHOD_0 ( ) { IDENT_0 . METHOD_1 ( INT_0 ) ; eu . IDENT_1 . IDENT_2 . model . core . IDENT_3 IDENT_4 = mock ( eu . IDENT_1 . IDENT_2 . model . core . IDENT_3 . class ) ; when ( IDENT_4 . validate ( ) ) . thenReturn ( true ) ; IDENT_0 . METHOD_2 ( IDENT_4 ) ; boolean isValid = IDENT_0 . validate ( ) ; "<AssertPlaceHolder>" ; } validate ( ) { return true ; }
org . junit . Assert . assertThat ( isValid , org . hamcrest . CoreMatchers . is ( true ) )