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 ) ) ; final com . orientechnologies . orient . core . index . IDENT_1 IDENT_2 = new com . orientechnologies . orient . core . index . METHOD_2 ( STRING_2 ) ; IDENT_2 . METHOD_3 ( new com . orientechnologies . orient . core . index . METHOD_4 ( STRING_2 , STRING_1 , com . orientechnologies . orient . core . metadata . schema . IDENT_3 . IDENT_4 ) ) ; IDENT_2 . METHOD_3 ( new com . orientechnologies . orient . core . index . METHOD_5 ( STRING_2 , STRING_0 , com . orientechnologies . orient . core . metadata . schema . IDENT_3 . IDENT_4 ) ) ; final java . lang . Object result = IDENT_2 . METHOD_6 ( document ) ; final com . orientechnologies . orient . core . index . ArrayList < com . orientechnologies . orient . core . index . IDENT_5 > IDENT_6 = new com . orientechnologies . orient . core . index . ArrayList < com . orientechnologies . orient . core . index . IDENT_5 > ( ) ; IDENT_6 . add ( new com . orientechnologies . orient . core . index . METHOD_7 ( 1 , 12 ) ) ; IDENT_6 . add ( new com . orientechnologies . orient . core . index . METHOD_7 ( 2 , 12 ) ) ; "<AssertPlaceHolder>" ; } add ( int , IDENT_7 ) { METHOD_8 ( ) ; com . orientechnologies . orient . core . db . record . IDENT_8 record ; if ( element instanceof com . orientechnologies . orient . core . db . record . IDENT_8 ) { record = ( ( com . orientechnologies . orient . core . db . record . IDENT_8 ) ( element ) ) ; if ( IDENT_9 ) IDENT_9 = false ; if ( ( ( IDENT_10 ) && ( record != null ) ) && ( ( IDENT_11 ) != null ) ) ( ( com . orientechnologies . orient . object . IDENT_12 . IDENT_13 ) ( IDENT_11 . METHOD_9 ( ) ) ) . METHOD_10 ( ) . remove ( record . METHOD_11 ( ) ) ; IDENT_14 . add ( index , record ) ; return ; } else if ( element instanceof IDENT_15 . util . proxy . IDENT_16 ) { record = ( ( com . orientechnologies . orient . core . db . record . IDENT_8 ) ( com . orientechnologies . orient . object . IDENT_12 . IDENT_17 . METHOD_12 ( ( ( IDENT_15 . util . proxy . IDENT_16 ) ( element ) ) ) ) ) ; if ( ( ( IDENT_10 ) && ( record != null ) ) && ( ( IDENT_11 ) != null ) ) ( ( com . orientechnologies . orient . object . IDENT_12 . IDENT_13 ) ( IDENT_11 . METHOD_9 ( ) ) ) . METHOD_10 ( ) . remove ( record . METHOD_11 ( ) ) ; IDENT_14 . add ( index , record ) ; } else { element = ( ( IDENT_7 ) ( com . orientechnologies . orient . object . IDENT_12 . IDENT_17 . METHOD_13 ( element , METHOD_14 ( ) ) ) ) ; record = ( ( com . orientechnologies . orient . core . db . record . IDENT_8 ) ( com . orientechnologies . orient . object . IDENT_12 . IDENT_17 . METHOD_12 ( ( ( IDENT_15 . util . proxy . IDENT_16 ) ( element ) ) ) ) ) ; if ( ( ( IDENT_10 ) && ( record != null ) ) && ( ( IDENT_11 ) != null ) ) ( ( com . orientechnologies . orient . object . IDENT_12 . IDENT_13 ) ( IDENT_11 . METHOD_9 ( ) ) ) . METHOD_10 ( ) . remove ( record . METHOD_11 ( ) ) ; IDENT_14 . add ( index , record ) ; } super . add ( index , element ) ; }
org . junit . Assert . assertEquals ( result , IDENT_6 )