METHOD_0 ( ) { when ( parameter . METHOD_1 ( ) ) . thenReturn ( STRING_0 ) ; when ( IDENT_0 . METHOD_2 ( eq ( "foo" ) , METHOD_3 ( ) , eq ( STRING_0 ) ) ) . thenReturn ( STRING_0 ) ; when ( IDENT_1 . METHOD_4 ( ) . METHOD_5 ( true ) ) . thenReturn ( newArrayList ( ) ) ; java . lang . Object IDENT_2 = IDENT_3 . resolve ( parameter , IDENT_1 ) ; "<AssertPlaceHolder>" ; } resolve ( org . IDENT_4 . core . impl . method . org . IDENT_4 . core . IDENT_5 , org . IDENT_4 . core . IDENT_6 ) { java . lang . String param = IDENT_7 . value ( ) ; org . IDENT_4 . core . method . IDENT_8 IDENT_0 = IDENT_9 . METHOD_6 ( parameter . METHOD_7 ( ) , parameter . METHOD_8 ( ) ) ; java . util . List < javax . ws . rs . core . IDENT_10 > IDENT_11 = context . METHOD_4 ( ) . METHOD_5 ( ( ! ( parameter . METHOD_9 ( ) ) ) ) ; javax . ws . rs . core . IDENT_10 IDENT_12 = com . google . common . collect . IDENT_13 . METHOD_10 ( IDENT_11 , null ) ; return IDENT_0 . METHOD_2 ( param , ( IDENT_12 == null ? new javax . ws . rs . core . METHOD_11 ( ) : IDENT_12 . METHOD_12 ( ) ) , parameter . METHOD_1 ( ) ) ; }
org . junit . Assert . assertEquals ( STRING_0 , IDENT_2 )