METHOD_0 ( ) { javax . ws . rs . core . Response res = IDENT_0 . METHOD_1 ( null , STRING_0 ) ; java . lang . String result = IDENT_1 . METHOD_2 ( res . METHOD_3 ( ) ) ; java . lang . String expected = STRING_1 ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String , java . lang . String ) { javax . ws . rs . core . Response . IDENT_2 builder = javax . ws . rs . core . Response . status ( Response . Status . IDENT_3 ) ; if ( IDENT_4 != null ) { return builder . entity ( com . google . common . collect . IDENT_5 . transform ( IDENT_6 . METHOD_4 ( ) , org . apache . druid . server . http . IDENT_7 :: IDENT_8 ) ) . build ( ) ; } else if ( simple != null ) { return builder . entity ( com . google . common . collect . IDENT_5 . transform ( IDENT_6 . METHOD_4 ( ) , org . apache . druid . server . http . IDENT_7 :: IDENT_9 ) ) . build ( ) ; } return builder . entity ( com . google . common . collect . IDENT_5 . transform ( IDENT_6 . METHOD_4 ( ) , IDENT_10 :: IDENT_11 ) ) . build ( ) ; }
org . junit . Assert . assertEquals ( expected , result )