METHOD_0 ( ) { final com . orientechnologies . orient . core . db . document . IDENT_0 db = new com . orientechnologies . orient . core . db . document . METHOD_1 ( STRING_0 ) ; db . create ( ) ; try { db . command ( new com . orientechnologies . orient . core . sql . METHOD_2 ( STRING_1 ) ) . execute ( ) ; db . command ( new com . orientechnologies . orient . core . sql . METHOD_2 ( STRING_2 ) ) . execute ( ) ; java . lang . IDENT_1 result = db . query ( new com . orientechnologies . orient . core . sql . query . IDENT_2 < java . lang . Object > ( STRING_3 ) ) ; com . orientechnologies . orient . core . record . impl . IDENT_3 doc = ( ( com . orientechnologies . orient . core . record . impl . IDENT_3 ) ( result . iterator ( ) . next ( ) ) ) ; "<AssertPlaceHolder>" ; } finally { db . close ( ) ; } } field ( java . lang . Object ) { if ( ! ( fields . contains ( IDENT_4 ) ) ) fields . add ( IDENT_4 ) ; return this ; }
org . junit . Assert . assertEquals ( doc . field ( "value" ) , "foo" )