METHOD_0 ( ) { final com . IDENT_0 . reader . log4j . IDENT_1 reader = new com . IDENT_0 . reader . log4j . METHOD_1 ( STRING_0 , STRING_1 ) ; final byte [ ] IDENT_2 = STRING_2 . getBytes ( ) ; final com . IDENT_0 . model . support . IDENT_3 IDENT_4 = org . mockito . Mockito . mock ( com . IDENT_0 . model . support . IDENT_3 . class ) ; org . mockito . Mockito . when ( IDENT_4 . METHOD_2 ( org . mockito . Mockito . any ( com . IDENT_0 . model . IDENT_5 . class ) , org . mockito . Mockito . METHOD_3 ( ) ) ) . METHOD_4 ( new org . mockito . IDENT_6 . IDENT_7 < com . IDENT_0 . model . IDENT_5 > ( ) { @ com . IDENT_0 . reader . log4j . Override public com . IDENT_0 . model . IDENT_5 METHOD_5 ( final org . mockito . IDENT_8 . IDENT_9 IDENT_8 ) throws java . lang . Throwable { final com . IDENT_0 . model . support . IDENT_10 from = ( ( com . IDENT_0 . model . support . IDENT_10 ) ( IDENT_8 . METHOD_6 ( ) [ 0 ] ) ) ; final long offset = ( ( long ) ( IDENT_8 . METHOD_6 ( ) [ 1 ] ) ) ; return new com . IDENT_0 . model . support . METHOD_7 ( ( from == null ? offset : ( from . METHOD_8 ( ) ) + offset ) , Long . MAX_VALUE ) ; } } ) ; org . mockito . Mockito . when ( IDENT_4 . METHOD_9 ( null ) ) . thenReturn ( new com . IDENT_0 . model . support . METHOD_10 ( ) { int i = 0 ; @ com . IDENT_0 . reader . log4j . Override public com . IDENT_0 . model . IDENT_5 METHOD_11 ( ) throws java . io . IOException { return new com . IDENT_0 . model . support . METHOD_7 ( i , Long . MAX_VALUE ) ; } @ com . IDENT_0 . reader . log4j . Override public int read ( ) throws java . io . IOException { return IDENT_2 [ ( ( ( i ) ++ ) OP_0 ( IDENT_2 . length ) ) ] ; } } ) ; final int IDENT_11 = INT_0 ; final long start = java . lang . System . currentTimeMillis ( ) ; final java . util . concurrent . atomic . IDENT_12 count = new java . util . concurrent . atomic . METHOD_12 ( 0 ) ; reader . METHOD_13 ( org . mockito . Mockito . mock ( com . IDENT_0 . model . IDENT_13 . class ) , IDENT_4 , null , new com . IDENT_0 . reader . IDENT_14 . METHOD_14 ( ) { @ com . IDENT_0 . reader . log4j . Override public boolean METHOD_15 ( final com . IDENT_0 . model . IDENT_13 log , final com . IDENT_0 . model . IDENT_15 IDENT_16 , final com . IDENT_0 . model . IDENT_17 entry ) throws java . io . IOException { try { java . lang . Thread . sleep ( 1 ) ; } catch ( final java . lang . IDENT_18 e ) { e . printStackTrace ( ) ; } return ( count . METHOD_16 ( ) ) < IDENT_11 ; } } ) ; final long size = ( IDENT_2 . length ) * ( ( count . get ( ) ) - 1 ) ; final long time = ( java . lang . System . currentTimeMillis ( ) ) - start ; logger . info ( STRING_3 , ( ( count . get ( ) ) - 1 ) , size , time , ( ( size / time ) * 1000 ) ) ; "<AssertPlaceHolder>" ; } get ( ) { return METHOD_17 ( offset . getTime ( ) , 0 , log . METHOD_18 ( ) ) ; }
org . junit . Assert . assertEquals ( IDENT_11 , count . get ( ) )