METHOD_0 ( ) { com . orientechnologies . orient . core . db . IDENT_0 factory = new com . orientechnologies . orient . core . db . METHOD_1 ( STRING_0 , STRING_1 1 , STRING_1 1 , com . orientechnologies . orient . core . db . IDENT_1 . METHOD_2 ( ) ) ; java . lang . String IDENT_2 = ( getClass ( ) . METHOD_3 ( ) ) + STRING_2 ; factory . create ( IDENT_2 , IDENT_3 . IDENT_4 ) ; com . orientechnologies . orient . core . db . document . IDENT_5 db = factory . METHOD_4 ( IDENT_2 , STRING_3 , STRING_3 ) ; java . lang . String script = STRING_4 ; script += STRING_5 ; script += STRING_6 ; script += STRING_1 2 ; script += STRING_7 ; script += STRING_8 ; script += STRING_1 ; com . orientechnologies . orient . core . sql . executor . IDENT_6 result = db . execute ( STRING_9 , script ) ; result . close ( ) ; result = db . query ( STRING_1 0 ) ; "<AssertPlaceHolder>" ; result . close ( ) ; db . close ( ) ; factory . METHOD_5 ( IDENT_2 ) ; factory . close ( ) ; } stream ( ) { com . orientechnologies . orient . object . db . IDENT_7 . IDENT_8 IDENT_9 = METHOD_6 ( ) ; IDENT_9 = IDENT_10 . save ( IDENT_9 ) ; com . orientechnologies . orient . object . db . IDENT_7 . IDENT_11 IDENT_12 = new com . orientechnologies . orient . object . db . IDENT_7 . METHOD_7 ( ) ; IDENT_12 . METHOD_8 ( STRING_10 ) ; com . orientechnologies . orient . object . db . IDENT_7 . METHOD_7 IDENT_13 = new com . orientechnologies . orient . object . db . IDENT_7 . METHOD_7 ( ) ; IDENT_13 . METHOD_8 ( STRING_11 ) ; IDENT_9 . METHOD_9 ( ) . add ( 0 , IDENT_12 ) ; IDENT_9 . METHOD_9 ( ) . add ( IDENT_9 . METHOD_9 ( ) . size ( ) , IDENT_13 ) ; IDENT_9 = IDENT_10 . save ( IDENT_9 ) ; count = 0 ; IDENT_9 . METHOD_9 ( ) . stream ( ) . METHOD_10 ( ( IDENT_14 ) -> { assertNotNull ( IDENT_14 ) ; ( count ) ++ ; } ) ; org . junit . Assert . assertEquals ( IDENT_9 . METHOD_9 ( ) . size ( ) , count ) ; }
org . junit . Assert . assertEquals ( 2 , result . stream ( ) . count ( ) )