METHOD_0 ( ) { com . orientechnologies . orient . core . db . IDENT_0 session = IDENT_1 . METHOD_1 ( com . orientechnologies . orient . core . db . IDENT_2 . class . METHOD_2 ( ) , STRING_0 , STRING_0 ) ; session . METHOD_3 ( STRING_1 ) ; com . orientechnologies . orient . core . record . IDENT_3 doc = session . METHOD_4 ( STRING_1 ) ; doc . setProperty ( STRING_2 , STRING_3 ) ; com . orientechnologies . orient . core . id . IDENT_4 id = session . save ( doc ) . METHOD_5 ( ) ; java . util . concurrent . IDENT_5 IDENT_6 = new java . util . concurrent . METHOD_6 ( 1 ) ; java . util . concurrent . METHOD_6 read = new java . util . concurrent . METHOD_6 ( 1 ) ; java . util . concurrent . IDENT_7 . METHOD_7 ( ) . execute ( ( ) -> { com . orientechnologies . orient . core . db . IDENT_0 IDENT_8 = IDENT_1 . METHOD_1 ( . class . METHOD_2 ( ) , STRING_0 , STRING_0 ) ; com . orientechnologies . orient . core . record . IDENT_3 IDENT_9 = IDENT_8 . load ( id ) ; try { read . METHOD_8 ( ) ; } catch ( e ) { } IDENT_9 . setProperty ( STRING_2 , STRING_4 ) ; IDENT_8 . save ( IDENT_9 ) ; IDENT_6 . METHOD_9 ( ) ; IDENT_8 . close ( ) ; } ) ; com . orientechnologies . common . types . IDENT_10 IDENT_11 = new com . orientechnologies . common . types . METHOD_10 ( 0 ) ; session . METHOD_11 ( 2 , ( IDENT_8 ) -> { IDENT_11 . METHOD_12 ( ) ; IDENT_8 . METHOD_13 ( ) ; com . orientechnologies . orient . core . record . IDENT_3 IDENT_9 = IDENT_8 . load ( id ) ; read . METHOD_9 ( ) ; try { IDENT_6 . METHOD_8 ( ) ; } catch ( e ) { com . orientechnologies . orient . core . db . e . printStackTrace ( ) ; } IDENT_9 . setProperty ( STRING_4 , STRING_5 ) ; IDENT_8 . save ( IDENT_9 ) ; IDENT_8 . commit ( ) ; return null ; } ) ; "<AssertPlaceHolder>" ; session . close ( ) ; } getValue ( ) { return value ; }
org . junit . Assert . assertEquals ( IDENT_11 . getValue ( ) , 2 )