METHOD_0 ( ) { final com . orientechnologies . orient . core . record . impl . IDENT_0 document = new com . orientechnologies . orient . core . record . impl . METHOD_1 ( ) ; final com . orientechnologies . orient . core . db . record . IDENT_1 . IDENT_2 IDENT_3 = new com . orientechnologies . orient . core . db . record . IDENT_1 . METHOD_2 ( ) ; IDENT_3 . METHOD_3 ( false ) ; IDENT_3 . add ( new com . orientechnologies . orient . core . id . METHOD_4 ( STRING_0 ) ) ; IDENT_3 . add ( new com . orientechnologies . orient . core . id . METHOD_4 ( STRING_1 ) ) ; IDENT_3 . add ( new com . orientechnologies . orient . core . id . METHOD_4 ( STRING_1 ) ) ; document . field ( STRING_2 , 12 ) ; document . field ( STRING_3 , IDENT_3 ) ; document . field ( STRING_4 , "test" ) ; final com . orientechnologies . orient . core . index . IDENT_4 IDENT_5 = new com . orientechnologies . orient . core . index . METHOD_5 ( STRING_5 ) ; IDENT_5 . METHOD_6 ( new com . orientechnologies . orient . core . index . METHOD_7 ( STRING_5 , STRING_2 , com . orientechnologies . orient . core . metadata . schema . IDENT_6 . IDENT_7 ) ) ; IDENT_5 . METHOD_6 ( new com . orientechnologies . orient . core . index . METHOD_8 ( STRING_5 , STRING_3 ) ) ; IDENT_5 . METHOD_6 ( new com . orientechnologies . orient . core . index . METHOD_7 ( STRING_5 , STRING_4 , com . orientechnologies . orient . core . metadata . schema . IDENT_6 . IDENT_8 ) ) ; final java . lang . Object result = IDENT_5 . METHOD_9 ( document ) ; final com . orientechnologies . orient . core . index . ArrayList < com . orientechnologies . orient . core . index . IDENT_9 > IDENT_10 = new com . orientechnologies . orient . core . index . ArrayList < com . orientechnologies . orient . core . index . IDENT_9 > ( ) ; IDENT_10 . add ( new com . orientechnologies . orient . core . index . METHOD_10 ( 12 , new com . orientechnologies . orient . core . id . METHOD_4 ( STRING_0 ) , "test" ) ) ; IDENT_10 . add ( new com . orientechnologies . orient . core . index . METHOD_10 ( 12 , new com . orientechnologies . orient . core . id . METHOD_4 ( STRING_1 ) , "test" ) ) ; IDENT_10 . add ( new com . orientechnologies . orient . core . index . METHOD_10 ( 12 , new com . orientechnologies . orient . core . id . METHOD_4 ( STRING_1 ) , "test" ) ) ; "<AssertPlaceHolder>" ; } add ( long , int , com . orientechnologies . orient . core . storage . impl . IDENT_11 . IDENT_12 . IDENT_13 . IDENT_14 ) { final long IDENT_15 = ( METHOD_11 ( IDENT_16 , IDENT_17 ) ) - 1 ; com . orientechnologies . orient . core . storage . cache . IDENT_18 IDENT_19 ; boolean IDENT_20 = false ; if ( IDENT_15 < 0 ) { IDENT_19 = METHOD_12 ( IDENT_16 , IDENT_17 ) ; IDENT_20 = true ; } else { IDENT_19 = METHOD_13 ( IDENT_16 , IDENT_17 , IDENT_15 , false , true ) ; } try { com . orientechnologies . orient . core . storage . cluster . IDENT_21 IDENT_22 = new com . orientechnologies . orient . core . storage . cluster . METHOD_14 ( IDENT_19 , IDENT_20 ) ; if ( IDENT_22 . METHOD_15 ( ) ) { METHOD_16 ( IDENT_16 , IDENT_19 ) ; IDENT_19 = METHOD_12 ( IDENT_16 , IDENT_17 ) ; IDENT_22 = new com . orientechnologies . orient . core . storage . cluster . METHOD_14 ( IDENT_19 , true ) ; } final long index = IDENT_22 . add ( IDENT_23 , IDENT_24 ) ; return index + ( ( IDENT_19 . METHOD_17 ( ) ) * ( com . orientechnologies . orient . core . storage . cluster . METHOD_14 . IDENT_25 ) ) ; } finally { METHOD_16 ( IDENT_16 , IDENT_19 ) ; } }
org . junit . Assert . assertEquals ( result , IDENT_10 )