METHOD_0 ( ) { final int IDENT_0 = INT_0 ; final java . util . function . IDENT_1 < io . IDENT_2 . bson . IDENT_3 > filter = io . IDENT_2 . stream . IDENT_4 . filter ( IDENT_0 ) ; java . util . stream . IDENT_5 < io . IDENT_2 . bson . IDENT_3 > events = java . util . stream . IDENT_6 . range ( 0 , IDENT_0 ) . METHOD_1 ( ( i ) -> "" + i ) . METHOD_2 ( ( str ) -> { final io . IDENT_2 . bson . IDENT_3 event = new io . IDENT_2 . bson . METHOD_3 ( ) . put ( io . IDENT_2 . stream . IDENT_7 . key , ( STRING_0 + str ) ) ; final IDENT_5 < io . IDENT_2 . bson . METHOD_3 > IDENT_8 = java . util . stream . IDENT_5 . of ( event ) ; final IDENT_5 < io . IDENT_2 . bson . METHOD_3 > IDENT_9 = java . util . stream . IDENT_5 . of ( event , event ) ; return str . contains ( STRING_1 ) ? IDENT_9 : IDENT_8 ; } ) . filter ( filter ) ; "<AssertPlaceHolder>" ; } filter ( int ) { io . IDENT_2 . stream . IDENT_4 IDENT_10 = new io . IDENT_2 . stream . METHOD_4 ( IDENT_11 ) ; java . util . function . IDENT_1 < io . IDENT_2 . bson . METHOD_3 > filter = ( bson ) -> { Optional < io . IDENT_2 . bson . METHOD_3 > empty = java . util . Optional . empty ( ) ; return ( IDENT_10 . METHOD_5 ( bson ) ) != empty ; } ; return filter ; }
org . junit . Assert . assertEquals ( IDENT_0 , events . count ( ) )