METHOD_0 ( ) { long IDENT_0 = TimeUnit . IDENT_1 . METHOD_1 ( 5 ) ; com . facebook . cache . common . IDENT_2 IDENT_3 = new com . facebook . cache . common . METHOD_2 ( STRING_0 ) ; byte [ ] IDENT_4 = new byte [ INT_0 ] ; IDENT_5 . insert ( IDENT_3 , com . facebook . cache . common . IDENT_6 . from ( IDENT_4 ) ) ; com . facebook . cache . common . IDENT_2 IDENT_7 = new com . facebook . cache . common . METHOD_2 ( STRING_1 ) ; byte [ ] IDENT_8 = new byte [ INT_1 ] ; IDENT_5 . insert ( IDENT_7 , com . facebook . cache . common . IDENT_6 . from ( IDENT_8 ) ) ; when ( IDENT_9 . now ( ) ) . thenReturn ( ( IDENT_0 + ( TimeUnit . IDENT_1 . METHOD_1 ( 1 ) ) ) ) ; long IDENT_10 = IDENT_5 . METHOD_3 ( IDENT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( long ) { long IDENT_11 = 0L ; MOD_0 ( IDENT_12 ) { try { long now = IDENT_9 . now ( ) ; java . util . Collection < com . facebook . cache . IDENT_13 . IDENT_14 . Entry > IDENT_15 = IDENT_16 . METHOD_4 ( ) ; final long IDENT_17 = IDENT_18 . METHOD_5 ( ) ; int IDENT_19 = 0 ; long IDENT_20 = 0L ; for ( com . facebook . cache . IDENT_13 . IDENT_14 . Entry entry : IDENT_15 ) { long IDENT_21 = java . lang . Math . max ( 1 , java . lang . Math . METHOD_6 ( ( now - ( entry . METHOD_7 ( ) ) ) ) ) ; if ( IDENT_21 >= IDENT_0 ) { long IDENT_22 = IDENT_16 . remove ( entry ) ; IDENT_23 . remove ( entry . getId ( ) ) ; if ( IDENT_22 > 0 ) { IDENT_19 ++ ; IDENT_20 += IDENT_22 ; com . facebook . cache . IDENT_13 . IDENT_24 IDENT_25 = com . facebook . cache . IDENT_13 . IDENT_24 . METHOD_8 ( ) . METHOD_9 ( entry . getId ( ) ) . METHOD_10 ( IDENT_26 . IDENT_27 . IDENT_28 ) . METHOD_11 ( IDENT_22 ) . METHOD_12 ( ( IDENT_17 - IDENT_20 ) ) ; IDENT_29 . METHOD_13 ( IDENT_25 ) ; IDENT_25 . METHOD_14 ( ) ; } } else { IDENT_11 = java . lang . Math . max ( IDENT_11 , IDENT_21 ) ; } } IDENT_16 . METHOD_15 ( ) ; if ( IDENT_19 > 0 ) { METHOD_16 ( ) ; IDENT_18 . METHOD_17 ( ( - IDENT_20 ) , ( - IDENT_19 ) ) ; } } catch ( java . io . IOException IDENT_30 ) { IDENT_31 . METHOD_18 ( IDENT_32 . IDENT_33 . IDENT_34 , com . facebook . cache . IDENT_13 . IDENT_35 . IDENT_36 , ( STRING_2 + ( IDENT_30 . getMessage ( ) ) ) , IDENT_30 ) ; } } return IDENT_11 ; }
org . junit . Assert . assertEquals ( 0L , IDENT_10 )