METHOD_0 ( ) { com . orientechnologies . orient . object . db . entity . IDENT_0 parent = new com . orientechnologies . orient . object . db . entity . METHOD_1 ( ) ; com . orientechnologies . orient . object . db . entity . METHOD_1 child = new com . orientechnologies . orient . object . db . entity . METHOD_1 ( ) ; parent . METHOD_2 ( child ) ; child . setName ( STRING_0 ) ; com . orientechnologies . orient . object . db . entity . METHOD_1 IDENT_1 = database . save ( parent ) ; java . lang . String IDENT_2 = IDENT_1 . getId ( ) ; this . database . close ( ) ; this . database = new com . orientechnologies . orient . object . db . METHOD_3 ( url ) ; this . database . METHOD_4 ( STRING_1 , STRING_1 ) ; com . orientechnologies . orient . object . db . entity . METHOD_1 IDENT_3 = this . database . load ( new com . orientechnologies . orient . core . id . METHOD_5 ( IDENT_2 ) ) ; com . orientechnologies . orient . object . db . entity . METHOD_1 IDENT_4 = IDENT_3 . METHOD_6 ( ) . iterator ( ) . next ( ) ; IDENT_4 . setName ( STRING_2 ) ; this . database . save ( IDENT_3 ) ; this . database . close ( ) ; this . database = new com . orientechnologies . orient . object . db . METHOD_3 ( url ) ; this . database . METHOD_4 ( STRING_1 , STRING_1 ) ; IDENT_3 = this . database . load ( new com . orientechnologies . orient . core . id . METHOD_5 ( IDENT_2 ) ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( ) { return this . IDENT_5 ; }
org . junit . Assert . assertEquals ( STRING_2 , IDENT_3 . METHOD_6 ( ) . iterator ( ) . next ( ) . getName ( ) )