METHOD_0 ( ) { final com . IDENT_0 . IDENT_1 . nio . IDENT_2 . IDENT_3 events = new com . IDENT_0 . IDENT_1 . nio . IDENT_2 . METHOD_1 ( ) ; IDENT_4 . METHOD_2 ( new java . lang . METHOD_3 ( ) { @ com . IDENT_0 . IDENT_1 . nio . Override public void run ( ) { ( events . count ) ++ ; } } , 100 , 10 , TimeUnit . IDENT_5 ) ; IDENT_4 . run ( false ) ; IDENT_6 . METHOD_4 ( 200 , TimeUnit . IDENT_5 ) ; IDENT_4 . run ( false ) ; IDENT_4 . METHOD_2 ( new java . lang . METHOD_3 ( ) { @ com . IDENT_0 . IDENT_1 . nio . Override public void run ( ) { ( events . count ) ++ ; } } , 100 , 10 , TimeUnit . IDENT_5 ) ; IDENT_4 . run ( false ) ; IDENT_6 . METHOD_4 ( INT_0 , TimeUnit . IDENT_5 ) ; IDENT_4 . run ( false ) ; IDENT_4 . METHOD_2 ( new java . lang . METHOD_3 ( ) { @ com . IDENT_0 . IDENT_1 . nio . Override public void run ( ) { ( events . count ) ++ ; } } , 100 , 10 , TimeUnit . IDENT_5 ) ; IDENT_4 . run ( false ) ; IDENT_6 . METHOD_4 ( INT_1 , TimeUnit . IDENT_5 ) ; IDENT_4 . run ( false ) ; "<AssertPlaceHolder>" ; } run ( boolean ) { ( IDENT_7 ) ++ ; IDENT_8 . set ( false ) ; java . lang . METHOD_3 IDENT_9 ; while ( ( IDENT_9 = IDENT_10 . METHOD_5 ( ) ) != null ) { ( IDENT_11 ) ++ ; IDENT_9 . run ( ) ; } long IDENT_12 = 0 ; com . IDENT_0 . IDENT_1 . nio . IDENT_13 . IDENT_14 IDENT_15 ; while ( ! ( IDENT_16 . isEmpty ( ) ) ) { IDENT_15 = IDENT_16 . METHOD_6 ( ) ; long now = IDENT_6 . now ( ) ; if ( ( ( IDENT_15 . IDENT_17 ) > 0 ) && ( ( IDENT_15 . IDENT_18 ) <= ( now - ( IDENT_15 . IDENT_17 ) ) ) ) { IDENT_16 . METHOD_5 ( ) ; } else if ( ( IDENT_15 . IDENT_18 ) <= now ) { ( IDENT_11 ) ++ ; IDENT_15 . run ( ) ; IDENT_16 . METHOD_5 ( ) ; } else { IDENT_12 = ( IDENT_15 . IDENT_18 ) - now ; break ; } } int IDENT_19 = 0 ; try { IDENT_20 = true ; if ( ( IDENT_21 && ( IDENT_10 . isEmpty ( ) ) ) && ( ! ( IDENT_8 . get ( ) ) ) ) { IDENT_19 = IDENT_22 . select ( IDENT_12 ) ; } else { IDENT_19 = IDENT_22 . METHOD_7 ( ) ; } IDENT_20 = false ; } catch ( java . io . IOException e ) { throw new java . lang . RuntimeException ( e ) ; } if ( IDENT_19 > 0 ) { java . util . Set < java . nio . IDENT_23 . IDENT_24 > IDENT_25 = IDENT_22 . METHOD_8 ( ) ; for ( java . util . Iterator < java . nio . IDENT_23 . IDENT_24 > iterator = IDENT_25 . iterator ( ) ; iterator . hasNext ( ) ; ) { java . nio . IDENT_23 . IDENT_24 key = iterator . next ( ) ; iterator . remove ( ) ; java . lang . Object IDENT_26 = key . METHOD_9 ( ) ; if ( METHOD_9 instanceof com . IDENT_0 . IDENT_1 . nio . IDENT_27 ) { com . IDENT_0 . IDENT_1 . nio . IDENT_27 IDENT_28 = ( ( com . IDENT_0 . IDENT_1 . nio . IDENT_27 ) ( METHOD_9 ) ) ; if ( key . METHOD_10 ( ) ) { ( IDENT_11 ) ++ ; IDENT_28 . METHOD_11 ( ) ; } else if ( key . METHOD_12 ( ) ) { ( IDENT_11 ) ++ ; IDENT_28 . METHOD_13 ( ) ; } else if ( key . METHOD_14 ( ) ) { ( IDENT_11 ) ++ ; IDENT_28 . METHOD_15 ( ) ; } } } } }
org . junit . Assert . assertEquals ( 1 , events . count )