METHOD_0 ( ) { org . IDENT_0 . core . IDENT_1 < org . IDENT_0 . core . provider . IDENT_2 > IDENT_3 = mock ( org . IDENT_0 . core . IDENT_1 . class ) ; org . IDENT_0 . core . provider . IDENT_2 IDENT_4 = mock ( org . IDENT_0 . core . provider . IDENT_2 . class ) ; when ( IDENT_4 . METHOD_1 ( ) ) . thenReturn ( newArrayList ( new javax . ws . rs . core . METHOD_2 ( STRING_0 , STRING_1 ) , new javax . ws . rs . core . METHOD_2 ( STRING_0 , STRING_2 ) ) ) ; when ( IDENT_4 . METHOD_3 ( ) ) . thenReturn ( ( ( java . lang . Class ) ( org . IDENT_0 . core . impl . provider . IDENT_5 . class ) ) ) ; when ( IDENT_3 . METHOD_4 ( ) ) . thenReturn ( IDENT_4 ) ; javax . ws . rs . ext . IDENT_6 < java . lang . String > writer = mock ( javax . ws . rs . ext . IDENT_6 . class ) ; when ( writer . METHOD_5 ( eq ( java . lang . String . class ) , ( ( java . lang . reflect . Type ) ( METHOD_6 ( ) ) ) , any ( java . lang . annotation . IDENT_7 [ ] . class ) , eq ( org . IDENT_0 . core . impl . IDENT_8 ) ) ) . thenReturn ( true ) ; when ( IDENT_3 . getInstance ( context ) ) . thenReturn ( writer ) ; IDENT_9 . METHOD_7 ( IDENT_3 ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( java . lang . Class , java . lang . reflect . Type , java . lang . annotation . IDENT_7 [ ] ) { java . util . List < javax . ws . rs . core . METHOD_2 > IDENT_10 = METHOD_9 ( type , IDENT_11 , IDENT_12 ) ; IDENT_10 . addAll ( METHOD_10 ( ) . METHOD_8 ( type , IDENT_11 , IDENT_12 ) ) ; return IDENT_10 ; }
org . junit . Assert . assertEquals ( newArrayList ( new javax . ws . rs . core . METHOD_2 ( STRING_0 , STRING_2 ) , new javax . ws . rs . core . METHOD_2 ( STRING_0 , STRING_1 ) ) , IDENT_9 . METHOD_8 ( java . lang . String . class , null , null ) )