METHOD_0 ( ) { java . util . List < com . baeldung . collection . IDENT_0 . IDENT_1 > IDENT_2 ; java . util . List < com . baeldung . collection . IDENT_0 . IDENT_1 > IDENT_3 = METHOD_1 ( ) ; java . util . List < java . lang . String > IDENT_4 = METHOD_2 ( ) ; IDENT_2 = IDENT_3 . stream ( ) . filter ( ( IDENT_5 ) -> IDENT_4 . contains ( IDENT_5 . getName ( ) ) ) . collect ( java . util . stream . IDENT_6 . toList ( ) ) ; "<AssertPlaceHolder>" ; } size ( ) { return elements . size ( ) ; }
org . junit . Assert . assertThat ( IDENT_2 . size ( ) , org . hamcrest . Matchers . is ( IDENT_4 . size ( ) ) )