METHOD_0 ( ) { org . hamcrest . IDENT_0 < javax . ws . rs . core . Response > IDENT_1 = com . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 . METHOD_1 ( ) ; javax . ws . rs . core . Response response = mock ( javax . ws . rs . core . Response . class ) ; javax . ws . rs . core . Response . IDENT_6 IDENT_7 = mock ( Response . IDENT_6 . class ) ; when ( response . METHOD_2 ( ) ) . thenReturn ( IDENT_7 ) ; when ( IDENT_7 . METHOD_3 ( ) ) . thenReturn ( Response . Status . IDENT_8 . IDENT_9 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( ) { return new org . hamcrest . IDENT_10 < javax . ws . rs . core . Response > ( STRING_0 ) { @ com . IDENT_2 . IDENT_3 . IDENT_4 . Override public boolean matches ( java . lang . Object o ) { return ( o instanceof javax . ws . rs . core . Response ) && ( ( ( ( javax . ws . rs . core . Response ) ( o ) ) . METHOD_2 ( ) . METHOD_3 ( ) ) == ( Response . Status . IDENT_8 . IDENT_9 ) ) ; } @ com . IDENT_2 . IDENT_3 . IDENT_4 . Override public void METHOD_4 ( java . lang . Object item , org . hamcrest . IDENT_11 description ) { javax . ws . rs . core . Response response = ( ( javax . ws . rs . core . Response ) ( item ) ) ; com . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 . METHOD_5 ( response , description ) ; } } ; }
org . junit . Assert . assertThat ( response , org . hamcrest . CoreMatchers . is ( METHOD_1 ) )