METHOD_0 ( ) { org . pentaho . platform . web . http . api . resources . services . IDENT_0 IDENT_1 = mock ( org . pentaho . platform . web . http . api . resources . services . IDENT_0 . class ) ; doReturn ( IDENT_1 ) . when ( IDENT_2 ) . METHOD_1 ( ) ; org . IDENT_3 . Document IDENT_4 = mock ( org . IDENT_3 . Document . class ) ; doReturn ( IDENT_4 ) . when ( IDENT_1 ) . METHOD_2 ( ) ; java . lang . String xml = STRING_0 ; doReturn ( xml ) . when ( IDENT_4 ) . METHOD_3 ( ) ; javax . ws . rs . core . Response IDENT_5 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( IDENT_5 ) . when ( IDENT_2 ) . METHOD_4 ( xml , IDENT_6 . IDENT_7 ) ; javax . ws . rs . core . Response IDENT_8 = IDENT_2 . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_2 , times ( 1 ) ) . METHOD_1 ( ) ; verify ( IDENT_1 , times ( 1 ) ) . METHOD_2 ( ) ; verify ( IDENT_4 , times ( 1 ) ) . METHOD_3 ( ) ; verify ( IDENT_2 , times ( 1 ) ) . METHOD_4 ( xml , IDENT_6 . IDENT_7 ) ; } METHOD_2 ( ) { java . util . Collections . METHOD_5 ( IDENT_9 ) ; return IDENT_9 ; }
org . junit . Assert . assertEquals ( IDENT_5 , IDENT_8 )