METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; com . orientechnologies . orient . graph . sql . IDENT_1 . db . METHOD_1 ( IDENT_0 ) ; for ( int i = 0 ; i < 10 ; i ++ ) { com . orientechnologies . orient . core . record . IDENT_2 v1 = com . orientechnologies . orient . graph . sql . IDENT_1 . db . METHOD_2 ( IDENT_0 ) ; v1 . setProperty ( "name" , ( "a" + i ) ) ; v1 . save ( ) ; } com . orientechnologies . orient . graph . sql . IDENT_1 . db . command ( ( STRING_1 + IDENT_0 ) ) . close ( ) ; com . orientechnologies . orient . core . sql . executor . IDENT_3 rs = com . orientechnologies . orient . graph . sql . IDENT_1 . db . query ( ( STRING_2 + IDENT_0 ) ) ; "<AssertPlaceHolder>" ; rs . close ( ) ; } stream ( ) { com . orientechnologies . orient . object . db . IDENT_4 . IDENT_5 IDENT_6 = METHOD_3 ( ) ; IDENT_6 = IDENT_7 . save ( IDENT_6 ) ; com . orientechnologies . orient . object . db . IDENT_4 . IDENT_8 IDENT_9 = new com . orientechnologies . orient . object . db . IDENT_4 . METHOD_4 ( ) ; IDENT_9 . METHOD_5 ( STRING_3 ) ; com . orientechnologies . orient . object . db . IDENT_4 . METHOD_4 IDENT_10 = new com . orientechnologies . orient . object . db . IDENT_4 . METHOD_4 ( ) ; IDENT_10 . METHOD_5 ( STRING_4 ) ; IDENT_6 . METHOD_6 ( ) . add ( 0 , IDENT_9 ) ; IDENT_6 . METHOD_6 ( ) . add ( IDENT_6 . METHOD_6 ( ) . size ( ) , IDENT_10 ) ; IDENT_6 = IDENT_7 . save ( IDENT_6 ) ; count = 0 ; IDENT_6 . METHOD_6 ( ) . stream ( ) . METHOD_7 ( ( IDENT_11 ) -> { assertNotNull ( IDENT_11 ) ; ( count ) ++ ; } ) ; org . junit . Assert . assertEquals ( IDENT_6 . METHOD_6 ( ) . size ( ) , count ) ; }
org . junit . Assert . assertEquals ( 0 , rs . stream ( ) . count ( ) )