METHOD_0 ( ) { METHOD_1 ( STRING_0 ) ; com . IDENT_0 . IDENT_1 . util . log . IDENT_2 IDENT_3 = IDENT_2 . IDENT_4 ; try ( com . IDENT_0 . IDENT_1 . util . log . IDENT_5 log = new com . IDENT_0 . IDENT_1 . util . log . METHOD_2 ( STRING_1 , STRING_2 , IDENT_3 , true , INT_0 , 100 ) ) { java . util . concurrent . atomic . IDENT_6 count = new java . util . concurrent . atomic . METHOD_3 ( ) ; java . util . concurrent . atomic . IDENT_7 IDENT_8 = new java . util . concurrent . atomic . METHOD_4 ( true ) ; java . util . concurrent . atomic . METHOD_3 IDENT_9 = new java . util . concurrent . atomic . METHOD_3 ( ) ; int IDENT_10 = 10 ; for ( int i = 0 ; i < IDENT_10 ; i ++ ) { new java . lang . Thread ( ) { @ com . IDENT_0 . IDENT_1 . util . log . Override public void run ( ) { IDENT_9 . METHOD_5 ( ) ; while ( IDENT_8 . get ( ) ) { log . info ( ( STRING_3 + ( count . METHOD_6 ( ) ) ) ) ; try { java . lang . Thread . sleep ( 10 ) ; } catch ( java . lang . IDENT_11 e ) { } } IDENT_9 . METHOD_7 ( ) ; } } . start ( ) ; } java . lang . Thread . sleep ( INT_1 ) ; IDENT_8 . set ( false ) ; while ( ( IDENT_9 . get ( ) ) > 0 ) { java . lang . Thread . sleep ( 100 ) ; } java . io . File [ ] IDENT_12 = log . METHOD_8 ( ) ; int IDENT_13 = 0 ; for ( int i = 0 ; i < ( IDENT_12 . length ) ; i ++ ) { java . lang . String result = METHOD_9 ( IDENT_12 [ i ] ) ; IDENT_13 += result . split ( STRING_4 ) . length ; } "<AssertPlaceHolder>" ; } get ( ) { org . IDENT_14 . IDENT_15 context = org . IDENT_14 . IDENT_16 . get ( ) ; if ( context == null ) { return null ; } return new uk . IDENT_17 . IDENT_18 . IDENT_19 . METHOD_10 ( context ) ; }
org . junit . Assert . assertEquals ( count . get ( ) , IDENT_13 )