METHOD_0 ( ) { org . apache . jackrabbit . oak . IDENT_0 . file . IDENT_1 store = org . apache . jackrabbit . oak . IDENT_0 . file . IDENT_2 . METHOD_1 ( IDENT_3 . METHOD_2 ( ) ) . METHOD_3 ( false ) . METHOD_4 ( METHOD_5 ( ) ) . build ( ) ; org . apache . jackrabbit . oak . IDENT_0 . IDENT_4 IDENT_5 = org . apache . jackrabbit . oak . IDENT_0 . IDENT_6 . builder ( store ) . build ( ) ; org . apache . jackrabbit . oak . plugins . index . lucene . IDENT_7 IDENT_8 = new org . apache . jackrabbit . oak . plugins . index . lucene . METHOD_6 ( org . apache . jackrabbit . oak . IDENT_9 . IDENT_10 , org . apache . jackrabbit . oak . plugins . IDENT_11 . IDENT_12 . IDENT_13 , STRING_0 ) ; org . apache . lucene . store . IDENT_14 directory = METHOD_7 ( IDENT_5 . METHOD_2 ( ) . builder ( ) , IDENT_8 ) . METHOD_8 ( false ) . build ( ) ; long IDENT_15 = ( ( org . apache . commons . io . IDENT_16 . IDENT_17 ) * 2 ) + ( org . apache . commons . io . IDENT_16 . IDENT_18 ) ; java . lang . String IDENT_19 = "test" ; org . apache . jackrabbit . oak . plugins . index . lucene . directory . IDENT_20 . METHOD_9 ( directory , IDENT_19 , IDENT_15 ) ; "<AssertPlaceHolder>" ; org . apache . lucene . store . IDENT_21 input = directory . METHOD_10 ( IDENT_19 , IDENT_22 . IDENT_23 ) ; org . apache . jackrabbit . oak . plugins . index . lucene . directory . IDENT_20 . METHOD_11 ( IDENT_15 , input ) ; store . close ( ) ; } METHOD_12 ( java . lang . String ) { org . apache . jackrabbit . oak . spi . state . IDENT_24 file = IDENT_25 . METHOD_13 ( name ) ; if ( ! ( file . exists ( ) ) ) { java . lang . String msg = java . lang . String . format ( STRING_1 , IDENT_26 , name ) ; throw new java . io . METHOD_14 ( msg ) ; } org . apache . jackrabbit . oak . plugins . index . lucene . directory . IDENT_27 input = new org . apache . jackrabbit . oak . plugins . index . lucene . directory . METHOD_15 ( name , file , IDENT_26 , IDENT_28 ) ; try { return input . length ( ) ; } finally { input . close ( ) ; } }
org . junit . Assert . assertEquals ( IDENT_15 , directory . METHOD_12 ( IDENT_19 ) )