METHOD_0 ( ) { final java . util . List < com . baeldung . stream . IDENT_0 . IDENT_1 > IDENT_2 = new java . util . ArrayList ( ) ; IDENT_3 . stream ( ) . filter ( ( item ) -> item . METHOD_1 ( ) ) . METHOD_2 ( ( item ) -> { item . METHOD_3 ( ) ; IDENT_2 . add ( item ) ; } ) ; IDENT_3 . METHOD_4 ( IDENT_2 ) ; "<AssertPlaceHolder>" ; } size ( ) { return elements . size ( ) ; }
org . junit . Assert . assertEquals ( 5 , IDENT_3 . size ( ) )