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