METHOD_0 ( ) { java . lang . String state = STRING_0 ; doReturn ( state ) . when ( IDENT_0 . IDENT_1 ) . METHOD_1 ( ) ; javax . ws . rs . core . Response IDENT_2 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( IDENT_2 ) . when ( IDENT_0 ) . METHOD_2 ( state ) ; javax . ws . rs . core . Response IDENT_3 = IDENT_0 . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_0 . IDENT_1 , times ( 1 ) ) . METHOD_1 ( ) ; verify ( IDENT_0 , times ( 1 ) ) . METHOD_2 ( state ) ; } METHOD_1 ( ) { if ( IDENT_4 . getValue ( ) ) { return org . pentaho . IDENT_5 . client . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_9 ; } if ( IDENT_10 . getValue ( ) ) { return org . pentaho . IDENT_5 . client . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_11 ; } return org . pentaho . IDENT_5 . client . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_12 ; }
org . junit . Assert . assertEquals ( IDENT_2 , IDENT_3 )