METHOD_0 ( ) { db . command ( new com . orientechnologies . orient . core . sql . METHOD_1 ( STRING_0 ) ) . execute ( ) ; db . command ( new com . orientechnologies . orient . core . sql . METHOD_1 ( STRING_1 ) ) . execute ( ) ; db . command ( new com . orientechnologies . orient . core . sql . METHOD_1 ( STRING_2 ) ) . execute ( ) ; db . METHOD_2 ( ) ; com . orientechnologies . orient . core . record . impl . IDENT_0 doc = new com . orientechnologies . orient . core . record . impl . METHOD_3 ( STRING_3 ) ; db . save ( doc ) ; db . commit ( ) ; db . METHOD_2 ( ) ; doc . field ( STRING_4 , new java . lang . String [ ] { "foo" } ) ; db . save ( doc ) ; db . commit ( ) ; com . orientechnologies . orient . core . index . IDENT_1 < ? > index = db . METHOD_4 ( ) . METHOD_5 ( ) . METHOD_6 ( STRING_5 ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( ) { while ( true ) { try { return storage . METHOD_8 ( false , false , IDENT_2 , new com . orientechnologies . orient . core . storage . impl . IDENT_3 . IDENT_4 < java . lang . Long > ( ) { @ com . orientechnologies . lucene . index . Override public com . orientechnologies . lucene . index . Long METHOD_9 ( com . orientechnologies . orient . core . index . engine . IDENT_5 engine ) { com . orientechnologies . orient . core . storage . IDENT_6 transaction = METHOD_10 ( ) . METHOD_11 ( ) ; com . orientechnologies . lucene . engine . IDENT_7 IDENT_8 = ( ( com . orientechnologies . lucene . engine . IDENT_7 ) ( engine ) ) ; return IDENT_8 . METHOD_12 ( METHOD_13 ( transaction ) ) ; } } ) ; } catch ( com . orientechnologies . orient . core . exception . IDENT_9 e ) { METHOD_14 ( ) ; } } }
org . junit . Assert . assertEquals ( 2 , index . METHOD_7 ( ) )