METHOD_0 ( ) { org . baeldung . java . collections . Set < java . lang . String > IDENT_0 = new org . baeldung . java . collections . HashSet ( org . baeldung . java . collections . Arrays . asList ( "a" , STRING_0 , STRING_1 ) ) ; org . baeldung . java . collections . List < java . lang . String > result = IDENT_1 . stream ( ) . filter ( IDENT_0 :: contains ) . collect ( METHOD_1 ( ArrayList :: new ) ) ; "<AssertPlaceHolder>" ; } size ( ) { return elements . size ( ) ; }
org . junit . Assert . assertEquals ( 6 , result . size ( ) )