METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . api . models . IDENT_2 IDENT_3 = org . IDENT_4 . api . mockito . IDENT_5 . METHOD_1 ( new com . IDENT_0 . IDENT_1 . api . models . METHOD_2 ( 5 ) ) ; for ( int i = 0 ; i < 3 ; i ++ ) IDENT_3 . METHOD_3 ( org . mockito . Mockito . mock ( com . IDENT_0 . IDENT_1 . api . packet . IDENT_6 . class ) ) ; IDENT_3 . METHOD_3 ( com . IDENT_0 . IDENT_1 . api . models . IDENT_7 . IDENT_8 ) ; IDENT_3 . METHOD_3 ( com . IDENT_0 . IDENT_1 . api . models . IDENT_7 . IDENT_9 ) ; IDENT_10 = java . lang . System . currentTimeMillis ( ) ; org . IDENT_4 . api . mockito . IDENT_5 . METHOD_4 ( com . IDENT_0 . IDENT_1 . api . models . System . class ) ; org . IDENT_4 . api . mockito . IDENT_5 . when ( java . lang . System . currentTimeMillis ( ) ) . thenReturn ( IDENT_10 ) ; org . IDENT_4 . api . mockito . IDENT_5 . METHOD_5 ( new org . mockito . IDENT_11 . IDENT_12 < java . lang . Object > ( ) { public java . lang . Object METHOD_6 ( org . mockito . IDENT_13 . IDENT_14 IDENT_13 ) throws com . IDENT_0 . IDENT_1 . api . models . Exception { java . lang . Object [ ] args = IDENT_13 . METHOD_7 ( ) ; int IDENT_15 = ( ( java . lang . Integer ) ( args [ 0 ] ) ) ; METHOD_8 ( IDENT_15 ) ; return null ; } } ) . when ( IDENT_3 , com . IDENT_0 . IDENT_1 . api . models . IDENT_7 . IDENT_16 , org . mockito . Mockito . METHOD_9 ( ) ) ; com . IDENT_0 . IDENT_1 . api . packet . IDENT_6 IDENT_17 = IDENT_3 . METHOD_10 ( INT_0 ) ; org . IDENT_4 . api . mockito . IDENT_5 . METHOD_11 ( IDENT_3 , org . mockito . Mockito . times ( 50 ) ) . invoke ( com . IDENT_0 . IDENT_1 . api . models . IDENT_7 . IDENT_16 , 100 ) ; "<AssertPlaceHolder>" ; } METHOD_10 ( int ) { if ( IDENT_18 > 0 ) { com . IDENT_0 . IDENT_1 . api . packet . IDENT_6 IDENT_17 = METHOD_10 ( 0 ) ; java . lang . Long IDENT_19 = ( java . lang . System . currentTimeMillis ( ) ) + IDENT_18 ; while ( ( IDENT_17 == null ) && ( IDENT_19 > ( java . lang . System . currentTimeMillis ( ) ) ) ) { sleep ( 100 ) ; IDENT_17 = METHOD_10 ( 0 ) ; } return IDENT_17 ; } else { MOD_0 ( IDENT_20 ) { for ( int i = 0 ; i < ( IDENT_21 . size ( ) ) ; i ++ ) { com . IDENT_0 . IDENT_1 . api . packet . IDENT_6 IDENT_17 = IDENT_21 . get ( i ) ; if ( METHOD_12 ( IDENT_17 ) ) return IDENT_21 . remove ( i ) ; } } } return null ; }
org . junit . Assert . assertNull ( IDENT_17 )