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 ( ) ; com . orientechnologies . orient . core . record . impl . IDENT_1 d = new com . orientechnologies . orient . core . record . impl . METHOD_3 ( STRING_2 ) ; d . field ( "name" , "foo" ) ; d . save ( ) ; d = new com . orientechnologies . orient . core . record . impl . METHOD_3 ( STRING_2 ) ; d . field ( "name" , "bar" ) ; d . save ( ) ; java . lang . Object result = db . command ( new com . orientechnologies . orient . core . sql . METHOD_2 ( STRING_3 ) ) . execute ( ) ; "<AssertPlaceHolder>" ; } finally { db . close ( ) ; } } execute ( ) { final java . lang . String result = IDENT_2 . METHOD_4 ( ) ; if ( ( ( IDENT_3 ) == null ) || ( ! ( IDENT_3 . equals ( result ) ) ) ) System . out . METHOD_5 ( ( STRING_4 + result ) ) ; IDENT_3 = result ; try { java . lang . Thread . sleep ( INT_0 ) ; } catch ( java . lang . IDENT_4 e ) { METHOD_6 ( ) ; } }
org . junit . Assert . assertEquals ( 2 , result )