METHOD_0 ( ) { org . IDENT_0 . core . impl . IDENT_1 . IDENT_2 IDENT_3 = new org . IDENT_0 . core . impl . IDENT_1 . METHOD_1 ( ) ; when ( IDENT_4 . getInstance ( METHOD_2 ( new org . mockito . IDENT_5 < org . IDENT_0 . core . impl . IDENT_6 > ( ) { @ org . IDENT_0 . core . impl . Override public boolean matches ( java . lang . Object IDENT_7 ) { return ( ( ( org . IDENT_0 . core . IDENT_8 ) ( IDENT_7 ) ) . METHOD_3 ( ) ) == ( org . IDENT_0 . core . impl . IDENT_1 . METHOD_1 . class ) ; } } ) ) ) . thenReturn ( IDENT_3 ) ; org . IDENT_0 . core . impl . IDENT_9 IDENT_10 = new org . IDENT_0 . core . impl . METHOD_4 ( org . IDENT_0 . core . impl . IDENT_1 . IDENT_11 . class . METHOD_5 ( STRING_0 ) , IDENT_12 ) ; org . IDENT_0 . core . impl . IDENT_1 . IDENT_11 instance = new org . IDENT_0 . core . impl . IDENT_1 . METHOD_6 ( ) ; IDENT_10 . METHOD_7 ( instance , IDENT_13 ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( java . lang . Object , org . IDENT_0 . core . IDENT_14 ) { try { java . lang . Object value = null ; if ( ( annotation ) != null ) { value = IDENT_12 . METHOD_8 ( annotation ) . resolve ( this , context ) ; } else { org . IDENT_0 . core . IDENT_15 IDENT_16 = context . METHOD_9 ( ) ; if ( IDENT_16 != null ) { value = IDENT_16 . getInstance ( this ) ; } } if ( value != null ) { if ( ( IDENT_17 ) != null ) { IDENT_17 . invoke ( resource , value ) ; } else { if ( ! ( java . lang . reflect . IDENT_18 . METHOD_10 ( field . METHOD_11 ( ) ) ) ) { field . METHOD_12 ( true ) ; } field . set ( resource , value ) ; } } } catch ( java . lang . Exception e ) { if ( ( annotation ) != null ) { java . lang . Class < ? > IDENT_19 = annotation . METHOD_13 ( ) ; if ( ( ( METHOD_13 == ( javax . ws . rs . IDENT_20 . class ) ) || ( METHOD_13 == ( javax . ws . rs . IDENT_21 . class ) ) ) || ( METHOD_13 == ( javax . ws . rs . IDENT_22 . class ) ) ) { throw new javax . ws . rs . METHOD_14 ( e , javax . ws . rs . core . Response . status ( org . IDENT_0 . core . impl . IDENT_23 ) . build ( ) ) ; } throw new javax . ws . rs . METHOD_14 ( e , javax . ws . rs . core . Response . status ( org . IDENT_0 . core . impl . IDENT_24 ) . build ( ) ) ; } throw new javax . ws . rs . METHOD_14 ( e , javax . ws . rs . core . Response . status ( org . IDENT_0 . core . impl . IDENT_25 ) . build ( ) ) ; } }
org . junit . Assert . assertSame ( IDENT_3 , instance . IDENT_3 )