METHOD_0 ( ) { javax . ws . rs . core . Response IDENT_0 = javax . ws . rs . core . Response . METHOD_1 ( ) . status ( new java . lang . Integer ( 200 ) ) . type ( IDENT_1 . IDENT_2 ) . build ( ) ; java . lang . String IDENT_3 = STRING_0 ; doReturn ( true ) . when ( org . pentaho . platform . IDENT_4 . IDENT_5 . api . resources . IDENT_6 . IDENT_7 . service ) . METHOD_0 ( IDENT_3 ) ; doReturn ( IDENT_0 ) . when ( org . pentaho . platform . IDENT_4 . IDENT_5 . api . resources . IDENT_6 . IDENT_7 ) . METHOD_2 ( STRING_1 ) ; javax . ws . rs . core . Response response = org . pentaho . platform . IDENT_4 . IDENT_5 . api . resources . IDENT_6 . IDENT_7 . METHOD_0 ( IDENT_3 ) ; verify ( org . pentaho . platform . IDENT_4 . IDENT_5 . api . resources . IDENT_6 . IDENT_7 , times ( 1 ) ) . METHOD_0 ( IDENT_3 ) ; "<AssertPlaceHolder>" ; } METHOD_0 ( java . lang . String ) { boolean res ; try { res = service . METHOD_0 ( IDENT_3 ) ; } catch ( java . lang . Exception e ) { org . pentaho . platform . IDENT_4 . IDENT_5 . api . resources . IDENT_8 . logger . error ( e ) ; return METHOD_3 ( ) ; } return javax . ws . rs . core . Response . METHOD_1 ( java . lang . Boolean . toString ( res ) ) . build ( ) ; }
org . junit . Assert . assertEquals ( IDENT_0 . getStatus ( ) , response . getStatus ( ) )