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