METHOD_0 ( ) { javax . ws . rs . core . Response IDENT_0 = javax . ws . rs . core . Response . METHOD_1 ( ) . status ( new java . lang . Integer ( 3 ) ) . type ( IDENT_1 . IDENT_2 ) . build ( ) ; java . lang . String IDENT_3 = STRING_0 ; java . io . InputStream IDENT_4 = mock ( java . io . InputStream . class ) ; com . sun . jersey . core . header . IDENT_5 IDENT_6 = mock ( com . sun . jersey . core . header . IDENT_5 . class ) ; java . lang . String IDENT_7 = STRING_1 ; java . util . List < com . sun . jersey . IDENT_8 . IDENT_9 > IDENT_10 = mock ( java . util . List . class ) ; java . util . List < com . sun . jersey . core . header . IDENT_5 > IDENT_11 = mock ( java . util . List . class ) ; METHOD_2 ( ) . when ( org . pentaho . platform . IDENT_12 . IDENT_13 . api . resources . IDENT_14 . IDENT_15 . service ) . METHOD_3 ( IDENT_3 , IDENT_4 , IDENT_6 , true , IDENT_10 , IDENT_11 , null ) ; doReturn ( IDENT_0 ) . when ( org . pentaho . platform . IDENT_12 . IDENT_13 . api . resources . IDENT_14 . IDENT_15 ) . METHOD_4 ( STRING_2 ) ; javax . ws . rs . core . Response response = org . pentaho . platform . IDENT_12 . IDENT_13 . api . resources . IDENT_14 . IDENT_15 . METHOD_5 ( IDENT_3 , IDENT_4 , IDENT_6 , IDENT_7 , IDENT_10 , IDENT_11 , null ) ; verify ( org . pentaho . platform . IDENT_12 . IDENT_13 . api . resources . IDENT_14 . IDENT_15 , times ( 1 ) ) . METHOD_5 ( IDENT_3 , IDENT_4 , IDENT_6 , IDENT_7 , IDENT_10 , IDENT_11 , null ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( java . lang . String , java . io . InputStream , com . sun . jersey . core . header . IDENT_5 , java . lang . String , java . util . List , java . util . List , org . pentaho . platform . api . IDENT_16 . IDENT_17 . IDENT_18 . IDENT_19 ) { return METHOD_3 ( IDENT_3 , IDENT_4 , IDENT_6 , IDENT_7 , IDENT_10 , IDENT_11 , IDENT_20 ) ; }
org . junit . Assert . assertEquals ( IDENT_0 . getStatus ( ) , response . getStatus ( ) )