test ( ) { com . orientechnologies . orient . core . serialization . serializer . result . IDENT_0 . IDENT_1 serializer = new com . orientechnologies . orient . core . serialization . serializer . result . IDENT_0 . METHOD_0 ( ) ; com . orientechnologies . orient . core . sql . executor . IDENT_2 original = new com . orientechnologies . orient . core . sql . executor . METHOD_1 ( ) ; original . setProperty ( "name" 2 , "name" 0 ) ; original . setProperty ( STRING_0 , 12 ) ; original . setProperty ( STRING_1 , FLOAT_0 ) ; original . setProperty ( STRING_2 , FLOAT_1 ) ; original . setProperty ( "name" 4 , true ) ; original . setProperty ( STRING_3 , new com . orientechnologies . orient . core . id . METHOD_2 ( STRING_4 ) ) ; com . orientechnologies . orient . core . sql . executor . METHOD_1 IDENT_3 = new com . orientechnologies . orient . core . sql . executor . METHOD_1 ( ) ; IDENT_3 . setProperty ( "name" , "bar" ) ; original . setProperty ( STRING_5 , IDENT_3 ) ; java . util . List list = new java . util . ArrayList ( ) ; list . add ( "name" 0 ) ; list . add ( "bar" ) ; original . setProperty ( "name" 1 , list ) ; java . util . Set set = new java . util . HashSet ( ) ; set . add ( STRING_6 ) ; set . add ( "name" 3 ) ; original . setProperty ( STRING_7 , STRING_7 ) ; com . orientechnologies . orient . core . serialization . serializer . record . IDENT_0 . IDENT_4 bytes = new com . orientechnologies . orient . core . serialization . serializer . record . IDENT_0 . METHOD_3 ( ) ; serializer . serialize ( original , bytes ) ; bytes . offset = 0 ; com . orientechnologies . orient . core . sql . executor . METHOD_1 IDENT_5 = serializer . METHOD_4 ( bytes ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( com . orientechnologies . orient . core . serialization . serializer . record . IDENT_0 . METHOD_3 ) { final com . orientechnologies . orient . core . sql . executor . METHOD_1 document = new com . orientechnologies . orient . core . sql . executor . METHOD_1 ( ) ; java . lang . String IDENT_6 ; com . orientechnologies . orient . core . metadata . schema . IDENT_7 type ; int size = com . orientechnologies . orient . core . serialization . serializer . record . IDENT_0 . IDENT_8 . METHOD_5 ( bytes ) ; while ( ( size OP_0 ) > 0 ) { final int len = com . orientechnologies . orient . core . serialization . serializer . record . IDENT_0 . IDENT_8 . METHOD_5 ( bytes ) ; IDENT_6 = METHOD_6 ( bytes . bytes , bytes . offset , len ) . METHOD_7 ( ) ; bytes . METHOD_8 ( len ) ; type = METHOD_9 ( bytes ) ; if ( type == null ) { document . setProperty ( IDENT_6 , null ) ; } else { final java . lang . Object value = METHOD_10 ( bytes , type ) ; document . setProperty ( IDENT_6 , value ) ; } } int IDENT_9 = com . orientechnologies . orient . core . serialization . serializer . record . IDENT_0 . IDENT_8 . METHOD_5 ( bytes ) ; while ( ( IDENT_9 OP_0 ) > 0 ) { final int len = com . orientechnologies . orient . core . serialization . serializer . record . IDENT_0 . IDENT_8 . METHOD_5 ( bytes ) ; IDENT_6 = METHOD_6 ( bytes . bytes , bytes . offset , len ) . METHOD_7 ( ) ; bytes . METHOD_8 ( len ) ; type = METHOD_9 ( bytes ) ; if ( type == null ) { document . METHOD_11 ( IDENT_6 , null ) ; } else { final java . lang . Object value = METHOD_10 ( bytes , type ) ; document . METHOD_11 ( IDENT_6 , value ) ; } } return document ; }
org . junit . Assert . assertEquals ( original , IDENT_5 )