METHOD_0 ( ) { init ( STRING_0 ) ; org . apache . IDENT_0 . channel . IDENT_1 IDENT_2 = org . mockito . Mockito . mock ( org . apache . IDENT_0 . channel . IDENT_1 . class ) ; METHOD_1 ( new org . apache . IDENT_0 . METHOD_2 ( STRING_1 ) ) . when ( IDENT_2 ) . METHOD_3 ( any ( org . apache . IDENT_0 . IDENT_3 . class ) ) ; source . METHOD_4 ( IDENT_2 ) ; METHOD_5 ( ) ; for ( int i = 0 ; ( i < 10 ) && ( ( source . METHOD_6 ( ) . METHOD_7 ( ) ) == 0 ) ; i ++ ) { java . lang . Thread . sleep ( 100 ) ; } "<AssertPlaceHolder>" ; } METHOD_6 ( ) { return IDENT_4 ; }
org . junit . Assert . assertEquals ( 1 , source . METHOD_6 ( ) . METHOD_7 ( ) )