METHOD_0 ( ) { final com . orientechnologies . orient . core . metadata . schema . IDENT_0 schema = db . METHOD_1 ( ) . METHOD_2 ( ) ; com . orientechnologies . orient . core . metadata . schema . IDENT_1 IDENT_2 = schema . METHOD_3 ( STRING_0 ) ; IDENT_2 . METHOD_4 ( STRING_1 , IDENT_3 . IDENT_4 ) . METHOD_5 ( IDENT_1 . IDENT_5 . IDENT_6 ) ; com . orientechnologies . orient . core . record . impl . IDENT_7 IDENT_8 = new com . orientechnologies . orient . core . record . impl . METHOD_6 ( STRING_0 ) ; IDENT_8 . field ( STRING_1 , STRING_2 ) ; IDENT_8 . save ( ) ; final com . orientechnologies . orient . core . id . IDENT_9 IDENT_10 = IDENT_8 . METHOD_7 ( ) ; db . close ( ) ; db . METHOD_8 ( STRING_3 , STRING_3 ) ; com . orientechnologies . orient . core . record . impl . METHOD_6 IDENT_11 = db . load ( IDENT_10 ) ; IDENT_11 . field ( STRING_1 , STRING_4 ) ; IDENT_11 . field ( STRING_5 , ( - 1 ) ) ; IDENT_11 . save ( ) ; db . close ( ) ; db . METHOD_8 ( STRING_3 , STRING_3 ) ; try { com . orientechnologies . orient . core . record . impl . METHOD_6 IDENT_12 = new com . orientechnologies . orient . core . record . impl . METHOD_6 ( STRING_0 ) ; IDENT_12 . field ( STRING_1 , STRING_4 ) ; db . save ( IDENT_12 ) ; org . junit . Assert . fail ( STRING_6 ) ; } catch ( com . orientechnologies . orient . core . storage . IDENT_13 ex ) { } final java . util . List < com . orientechnologies . orient . core . record . impl . METHOD_6 > result = db . query ( new com . orientechnologies . orient . core . sql . query . IDENT_14 < com . orientechnologies . orient . core . record . impl . METHOD_6 > ( STRING_7 ) ) ; "<AssertPlaceHolder>" ; } size ( ) { throw new java . lang . METHOD_9 ( STRING_8 ) ; }
org . junit . Assert . assertEquals ( result . size ( ) , 1 )