METHOD_0 ( ) { com . IDENT_0 . client . IDENT_1 . model . IDENT_2 IDENT_3 = new com . IDENT_0 . client . IDENT_1 . model . METHOD_1 ( ) ; IDENT_3 . METHOD_2 ( STRING_0 ) ; com . IDENT_0 . client . IDENT_1 . model . METHOD_1 IDENT_4 = new com . IDENT_0 . client . IDENT_1 . model . METHOD_1 ( ) ; IDENT_4 . METHOD_2 ( STRING_1 ) ; when ( client . METHOD_3 ( anyString ( ) ) ) . thenReturn ( IDENT_3 ) . thenReturn ( IDENT_4 ) ; com . IDENT_0 . client . IDENT_1 . model . METHOD_1 response = IDENT_5 . METHOD_4 ( STRING_2 , "test" ) ; verify ( client , times ( 2 ) ) . METHOD_3 ( anyString ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( java . lang . String , java . lang . String ) { com . IDENT_0 . client . IDENT_1 . model . METHOD_1 response = client . METHOD_3 ( IDENT_6 ) ; while ( STRING_0 . equals ( response . METHOD_5 ( ) ) ) { com . IDENT_0 . service . IDENT_7 . LOGGER . info ( ( STRING_3 + IDENT_8 ) ) ; com . IDENT_0 . service . IDENT_7 . LOGGER . info ( ( ( STRING_4 + ( response . METHOD_5 ( ) ) ) + STRING_5 ) ) ; try { java . lang . Thread . sleep ( com . IDENT_0 . service . IDENT_7 . IDENT_9 ) ; } catch ( java . lang . IDENT_10 e ) { com . IDENT_0 . service . IDENT_7 . LOGGER . error ( e . getMessage ( ) ) ; } response = client . METHOD_3 ( IDENT_6 ) ; } return response ; }
org . junit . Assert . assertEquals ( STRING_1 , response . METHOD_5 ( ) )