METHOD_0 ( ) { final com . IDENT_0 . redis . IDENT_1 . IDENT_2 IDENT_1 = new com . IDENT_0 . redis . IDENT_1 . METHOD_1 ( STRING_0 ) ; final java . util . concurrent . atomic . IDENT_3 IDENT_4 = new java . util . concurrent . atomic . METHOD_2 ( 0 ) ; new java . lang . Thread ( ) { @ com . IDENT_0 . redis . IDENT_1 . Override public void run ( ) { IDENT_1 . METHOD_3 ( new com . IDENT_0 . redis . IDENT_1 . event . METHOD_4 ( ) { @ com . IDENT_0 . redis . IDENT_1 . Override public void METHOD_5 ( com . IDENT_0 . redis . IDENT_1 . IDENT_2 IDENT_1 , com . IDENT_0 . redis . IDENT_1 . event . IDENT_5 event ) { if ( event instanceof com . IDENT_0 . redis . IDENT_1 . event . IDENT_6 ) { IDENT_4 . METHOD_6 ( ) ; } if ( event instanceof com . IDENT_0 . redis . IDENT_1 . event . IDENT_7 ) { IDENT_4 . METHOD_6 ( ) ; } } } ) ; try { IDENT_1 . METHOD_7 ( ) ; } catch ( java . io . IOException e ) { } } } . start ( ) ; java . lang . Thread . sleep ( INT_0 ) ; IDENT_1 . close ( ) ; java . lang . Thread . sleep ( INT_0 ) ; "<AssertPlaceHolder>" ; } close ( ) { in . close ( ) ; }
org . junit . Assert . assertEquals ( 1 , IDENT_4 . get ( ) )