METHOD_0 ( ) { final com . IDENT_0 . entities . User IDENT_1 = new com . IDENT_0 . entities . User ( ) ; IDENT_1 . METHOD_1 ( STRING_0 ) ; IDENT_1 . METHOD_2 ( STRING_1 ) ; com . IDENT_0 . IDENT_2 . Mockito . when ( IDENT_3 . METHOD_3 ( IDENT_1 ) ) . thenReturn ( true ) ; final java . lang . String IDENT_4 = IDENT_5 . METHOD_3 ( IDENT_1 ) ; "<AssertPlaceHolder>" ; com . IDENT_0 . IDENT_2 . Mockito . verify ( IDENT_3 , new org . mockito . internal . IDENT_6 . METHOD_4 ( 1 ) ) . METHOD_3 ( com . IDENT_0 . IDENT_2 . Mockito . any ( com . IDENT_0 . entities . User . class ) ) ; } METHOD_3 ( com . IDENT_0 . entities . User ) { try { if ( IDENT_3 . METHOD_3 ( user ) ) { return STRING_2 ; } else { return STRING_3 ; } } catch ( com . IDENT_0 . exceptions . IDENT_7 e ) { com . IDENT_0 . IDENT_2 . IDENT_8 . logger . error ( STRING_4 , user . METHOD_5 ( ) , e ) ; return STRING_5 ; } }
org . junit . Assert . assertEquals ( STRING_2 , IDENT_4 )