private void verifySet(final EffectiveMetaSet list, final Meta... expected) {
        assertThat(list)
                .isNotNull();
        assertThat(list.size())
                .isEqualTo(expected.length);
        final Set<EffectiveMeta> expectedSet = Arrays.stream(expected)
                .map(EffectiveMeta::new)
                .collect(Collectors.toSet());

        assertThat(list)
                .containsAll(expectedSet);
    }
Check that the list of stream contains the items we expect.

@param list
@param expected
stroom-app/src/test/java/stroom/data/store/impl/fs/TestS3StreamStore.java