METHOD_0 ( ) { org . pentaho . platform . web . http . api . resources . IDENT_0 IDENT_1 = mock ( org . pentaho . platform . web . http . api . resources . IDENT_0 . class ) ; javax . ws . rs . core . Response IDENT_2 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( IDENT_2 ) . when ( IDENT_3 ) . METHOD_1 ( javax . ws . rs . core . Response . Status . IDENT_4 ) ; java . lang . IDENT_5 IDENT_6 = mock ( org . pentaho . platform . web . http . api . resources . IDENT_5 . class ) ; METHOD_2 ( IDENT_6 ) . when ( IDENT_3 . IDENT_7 ) . METHOD_3 ( IDENT_1 ) ; javax . ws . rs . core . Response IDENT_8 = IDENT_3 . METHOD_3 ( IDENT_1 ) ; "<AssertPlaceHolder>" ; org . pentaho . platform . api . IDENT_9 . IDENT_10 IDENT_11 = mock ( org . pentaho . platform . api . IDENT_9 . IDENT_10 . class ) ; METHOD_2 ( IDENT_11 ) . when ( IDENT_3 . IDENT_7 ) . METHOD_3 ( IDENT_1 ) ; try { IDENT_3 . METHOD_3 ( IDENT_1 ) ; org . junit . Assert . fail ( ) ; } catch ( java . lang . RuntimeException e ) { } verify ( IDENT_3 , times ( 1 ) ) . METHOD_1 ( javax . ws . rs . core . Response . Status . IDENT_4 ) ; verify ( IDENT_3 . IDENT_7 , times ( 2 ) ) . METHOD_3 ( IDENT_1 ) ; } METHOD_3 ( org . pentaho . platform . web . http . api . resources . IDENT_0 ) { org . pentaho . platform . api . IDENT_9 . IDENT_12 job = METHOD_4 ( IDENT_13 . METHOD_5 ( ) ) ; if ( ( METHOD_6 ( ) ) || ( METHOD_7 ( ) . getName ( ) . equals ( job . METHOD_8 ( ) ) ) ) { return job . METHOD_9 ( ) ; } throw new java . lang . METHOD_10 ( ) ; }
org . junit . Assert . assertEquals ( IDENT_2 , IDENT_8 )