METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; org . jboss . IDENT_1 . core . IDENT_2 processor = new org . jboss . IDENT_1 . core . METHOD_1 ( IDENT_0 ) ; java . util . List < javax . ws . rs . core . IDENT_3 > expected = java . util . Arrays . asList ( IDENT_3 . IDENT_4 , IDENT_3 . IDENT_5 ) ; org . jboss . IDENT_1 . mock . IDENT_6 request = org . jboss . IDENT_1 . mock . IDENT_6 . get ( "foo" ) ; org . jboss . IDENT_1 . core . IDENT_7 . jaxrs . IDENT_8 context = new org . jboss . IDENT_1 . core . IDENT_7 . jaxrs . METHOD_2 ( request , null , null ) ; request . accept ( expected . get ( 0 ) ) ; request . accept ( expected . get ( 1 ) ) ; processor . filter ( context ) ; java . util . List < javax . ws . rs . core . IDENT_3 > actual = request . METHOD_3 ( ) . METHOD_4 ( ) ; for ( javax . ws . rs . core . IDENT_3 expect : expected ) { "<AssertPlaceHolder>" ; } } METHOD_4 ( ) { java . util . List < javax . ws . rs . core . IDENT_3 > list = new java . util . ArrayList < javax . ws . rs . core . IDENT_3 > ( ) ; java . util . List IDENT_9 = headers . get ( IDENT_10 . IDENT_11 ) ; if ( IDENT_9 == null ) return list ; for ( java . lang . Object obj : IDENT_9 ) { if ( obj instanceof javax . ws . rs . core . IDENT_3 ) { list . add ( ( ( javax . ws . rs . core . IDENT_3 ) ( obj ) ) ) ; continue ; } java . lang . String accept = null ; if ( obj instanceof java . lang . String ) { accept = ( ( java . lang . String ) ( obj ) ) ; } else { accept = configuration . METHOD_5 ( obj ) ; } java . util . IDENT_12 IDENT_13 = new java . util . METHOD_6 ( accept , STRING_1 ) ; while ( IDENT_13 . METHOD_7 ( ) ) { java . lang . String item = IDENT_13 . METHOD_8 ( ) . trim ( ) ; list . add ( javax . ws . rs . core . IDENT_3 . valueOf ( item ) ) ; } } org . jboss . IDENT_1 . util . IDENT_14 . METHOD_9 ( list ) ; return list ; }
org . junit . Assert . assertTrue ( actual . contains ( expect ) )