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