METHOD_0 ( ) { org . apache . IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = org . mockito . Mockito . mock ( org . apache . IDENT_0 . IDENT_1 . IDENT_2 . class ) ; org . mockito . Mockito . when ( IDENT_3 . METHOD_1 ( ) ) . thenReturn ( IDENT_4 . IDENT_5 ) ; org . mockito . Mockito . when ( IDENT_3 . getId ( ) ) . thenReturn ( INT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( org . apache . IDENT_0 . IDENT_1 . IDENT_2 , java . lang . IDENT_6 ) { if ( ( IDENT_3 != null ) && ( ( IDENT_3 . getId ( ) ) > 0L ) ) { return IDENT_3 . METHOD_1 ( ) . METHOD_3 ( ) ; } return IDENT_7 ; }
org . junit . Assert . assertEquals ( org . apache . IDENT_0 . IDENT_1 . IDENT_4 . METHOD_2 ( IDENT_3 , null ) , ( ( java . lang . IDENT_6 ) ( IDENT_4 . IDENT_5 . METHOD_3 ( ) ) ) )