METHOD_0 ( ) { com . baeldung . IDENT_0 . IDENT_1 < com . baeldung . stream . IDENT_2 , ? , com . baeldung . IDENT_0 . IDENT_3 < com . baeldung . stream . IDENT_2 > > IDENT_4 = com . baeldung . IDENT_0 . IDENT_1 . of ( IDENT_3 :: new , IDENT_3 :: add , ( first , IDENT_5 ) -> { first . addAll ( IDENT_5 ) ; return first ; } ) ; com . baeldung . IDENT_0 . IDENT_3 < com . baeldung . stream . IDENT_2 > IDENT_6 = IDENT_7 . stream ( ) . collect ( IDENT_4 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . util . Collection ) { for ( java . lang . Object o : collection ) { if ( ! ( contains ( o ) ) ) { return false ; } } return true ; }
org . junit . Assert . assertTrue ( IDENT_6 . METHOD_1 ( IDENT_7 ) )