METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( ) ) . thenReturn ( false ) ; javax . ws . rs . core . Response actual = rest . METHOD_2 ( repository ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( com . IDENT_1 . IDENT_2 . repository . IDENT_3 ) { if ( IDENT_0 . METHOD_1 ( ) ) { com . IDENT_1 . IDENT_2 . IDENT_4 . repository . IDENT_5 IDENT_4 = IDENT_6 . METHOD_3 ( repository ) ; if ( IDENT_4 == null ) { return javax . ws . rs . core . Response . status ( Response . Status . IDENT_7 ) . build ( ) ; } boolean data = IDENT_4 . METHOD_4 ( ) ; return javax . ws . rs . core . Response . METHOD_5 ( data ) . build ( ) ; } return javax . ws . rs . core . Response . status ( Response . Status . IDENT_8 ) . build ( ) ; }
org . junit . Assert . assertEquals ( Response . Status . IDENT_8 . getStatusCode ( ) , actual . getStatus ( ) )