METHOD_0 ( ) { final com . IDENT_0 . redis . IDENT_1 . Configuration configuration = com . IDENT_0 . redis . IDENT_1 . Configuration . METHOD_1 ( ) . METHOD_2 ( "test" ) . METHOD_3 ( INT_0 ) . METHOD_4 ( INT_0 ) . METHOD_5 ( INT_1 ) . METHOD_6 ( 0 ) . METHOD_7 ( 200 ) . METHOD_8 ( 0 ) . METHOD_9 ( 0 ) . METHOD_10 ( 1000 ) . METHOD_11 ( false ) ; @ com . IDENT_0 . redis . IDENT_1 . METHOD_12 ( STRING_0 ) com . IDENT_0 . redis . IDENT_1 . IDENT_2 IDENT_1 = new com . IDENT_0 . redis . IDENT_1 . IDENT_3 . METHOD_13 ( STRING_1 , INT_2 , configuration ) ; final java . util . concurrent . atomic . IDENT_4 IDENT_5 = new java . util . concurrent . atomic . METHOD_14 ( false ) ; final java . util . Set < com . IDENT_0 . redis . IDENT_1 . IDENT_6 . IDENT_7 . IDENT_8 > set = new java . util . METHOD_15 ( ) ; final java . util . concurrent . atomic . IDENT_9 IDENT_10 = new java . util . concurrent . atomic . METHOD_16 ( ) ; IDENT_1 . METHOD_17 ( new com . IDENT_0 . redis . IDENT_1 . event . METHOD_18 ( ) { @ com . IDENT_0 . redis . IDENT_1 . Override public void METHOD_19 ( com . IDENT_0 . redis . IDENT_1 . IDENT_2 IDENT_1 , com . IDENT_0 . redis . IDENT_1 . event . IDENT_11 event ) { if ( event instanceof com . IDENT_0 . redis . IDENT_1 . IDENT_6 . IDENT_7 . IDENT_8 ) { set . add ( ( ( com . IDENT_0 . redis . IDENT_1 . IDENT_6 . IDENT_7 . IDENT_8 ) ( event ) ) ) ; } if ( event instanceof com . IDENT_0 . redis . IDENT_1 . event . IDENT_12 ) { if ( IDENT_5 . METHOD_20 ( false , true ) ) { java . lang . Thread IDENT_13 = new java . lang . Thread ( new com . IDENT_0 . redis . IDENT_1 . IDENT_3 . METHOD_21 ( ) ) ; IDENT_13 . METHOD_22 ( true ) ; IDENT_13 . start ( ) ; IDENT_1 . METHOD_23 ( com . IDENT_0 . redis . IDENT_1 . IDENT_14 . IDENT_15 . name ( STRING_2 ) ) ; } } if ( ( event instanceof com . IDENT_0 . redis . IDENT_1 . IDENT_14 . impl . IDENT_16 ) && ( com . IDENT_0 . redis . IDENT_1 . util . IDENT_17 . toString ( ( ( com . IDENT_0 . redis . IDENT_1 . IDENT_14 . impl . IDENT_16 ) ( event ) ) . getKey ( ) ) . startsWith ( STRING_3 ) ) ) { IDENT_10 . METHOD_24 ( ) ; if ( ( IDENT_10 . get ( ) ) == INT_3 ) { com . IDENT_0 . redis . IDENT_1 . IDENT_3 . close ( IDENT_1 ) ; } if ( ( IDENT_10 . get ( ) ) == INT_4 ) { com . IDENT_0 . redis . IDENT_1 . IDENT_3 . close ( IDENT_1 ) ; } if ( ( IDENT_10 . get ( ) ) == INT_5 ) { configuration . METHOD_25 ( true ) ; } if ( ( IDENT_10 . get ( ) ) == INT_6 ) { try { IDENT_1 . close ( ) ; } catch ( java . io . IOException e ) { } } } } } ) ; IDENT_1 . METHOD_26 ( ) ; "<AssertPlaceHolder>" ; } METHOD_26 ( ) { com . IDENT_0 . redis . IDENT_1 . IDENT_2 IDENT_1 = new com . IDENT_0 . redis . IDENT_1 . METHOD_27 ( new com . IDENT_0 . redis . IDENT_1 . io . METHOD_28 ( com . IDENT_0 . redis . IDENT_1 . IDENT_18 . class . METHOD_29 ( ) . getResourceAsStream ( STRING_4 ) , 1000 ) , IDENT_19 . IDENT_20 , com . IDENT_0 . redis . IDENT_1 . Configuration . METHOD_1 ( ) ) ; final java . util . concurrent . atomic . METHOD_16 IDENT_10 = new java . util . concurrent . atomic . METHOD_16 ( 0 ) ; IDENT_1 . METHOD_17 ( new com . IDENT_0 . redis . IDENT_1 . event . METHOD_18 ( ) { @ com . IDENT_0 . redis . IDENT_1 . Override public void METHOD_19 ( com . IDENT_0 . redis . IDENT_1 . IDENT_2 IDENT_1 , com . IDENT_0 . redis . IDENT_1 . event . IDENT_11 event ) { if ( event instanceof com . IDENT_0 . redis . IDENT_1 . IDENT_14 . IDENT_21 ) { IDENT_10 . METHOD_24 ( ) ; } } } ) ; IDENT_1 . METHOD_26 ( ) ; org . junit . Assert . assertEquals ( 4 , IDENT_10 . get ( ) ) ; }
org . junit . Assert . assertEquals ( INT_6 , IDENT_10 . get ( ) )