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 ( ) ) { java . lang . String IDENT_4 = repository . METHOD_3 ( ) . getKey ( ) ; com . IDENT_5 . IDENT_6 . IDENT_7 . rest . List < com . IDENT_5 . IDENT_6 . IDENT_7 . rest . Map < java . lang . String , java . lang . String > > IDENT_8 = new com . IDENT_5 . IDENT_6 . IDENT_7 . rest . ArrayList ( ) ; com . IDENT_5 . IDENT_6 . IDENT_7 . rest . Optional . METHOD_4 ( jenkins . METHOD_5 ( IDENT_4 ) ) . map ( ( x ) -> METHOD_6 ( x , IDENT_4 ) ) . METHOD_7 ( IDENT_8 :: add ) ; com . IDENT_5 . IDENT_6 . IDENT_7 . rest . Optional . METHOD_4 ( jenkins . METHOD_5 ( null ) ) . map ( ( x ) -> METHOD_6 ( x , null ) ) . METHOD_7 ( IDENT_8 :: add ) ; return javax . ws . rs . core . Response . METHOD_8 ( IDENT_8 ) . build ( ) ; } else { return javax . ws . rs . core . Response . status ( Response . Status . IDENT_9 ) . build ( ) ; } }
org . junit . Assert . assertEquals ( Response . Status . IDENT_9 . getStatusCode ( ) , actual . getStatus ( ) )