METHOD_0 ( ) { com . orientechnologies . orient . object . db . IDENT_0 db = new com . orientechnologies . orient . object . db . METHOD_1 ( STRING_0 ) ; db . create ( ) ; db . METHOD_2 ( ) . METHOD_3 ( org . IDENT_1 . orient . IDENT_2 . tx . object . IDENT_3 . Person . class ) ; db . METHOD_4 ( ) ; org . IDENT_1 . orient . IDENT_2 . tx . object . IDENT_3 . Person person = new org . IDENT_1 . orient . IDENT_2 . tx . object . IDENT_3 . Person ( ) ; person = db . save ( person ) ; db . commit ( ) ; db . METHOD_4 ( ) ; db . delete ( person ) ; db . commit ( ) ; db . METHOD_4 ( ) ; org . IDENT_1 . orient . IDENT_2 . tx . object . IDENT_3 . Person IDENT_4 = new org . IDENT_1 . orient . IDENT_2 . tx . object . IDENT_3 . Person ( ) ; IDENT_4 = db . save ( IDENT_4 ) ; com . orientechnologies . orient . object . iterator . IDENT_5 < org . IDENT_1 . orient . IDENT_2 . tx . object . IDENT_3 . Person > it = db . METHOD_5 ( org . IDENT_1 . orient . IDENT_2 . tx . object . IDENT_3 . Person . class ) ; int IDENT_6 = 0 ; while ( it . hasNext ( ) ) { IDENT_6 ++ ; it . next ( ) ; } db . commit ( ) ; "<AssertPlaceHolder>" ; db . close ( ) ; } commit ( ) { org . IDENT_1 . orient . adapter . impl . IDENT_7 . log . debug ( STRING_1 ) ; db . commit ( ) ; METHOD_6 ( javax . resource . spi . IDENT_8 . IDENT_9 ) ; }
org . junit . Assert . assertThat ( IDENT_6 , org . hamcrest . CoreMatchers . is ( 1 ) )