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