@Test
public void testCollectionFillSet() {

    TsFiller filler = TsCursorAsFiller.of(logger, goodCursor, monikers, goodCursor);
    assertThat(new TsCollectionInformation(goodCollection, None)).satisfies(info -> {
        assertThat(filler.fillCollection(info)).isTrue();
        assertThat(info).isEqualToIgnoringGivenFields(colInfo(null, goodCollection, None, null, null), "items");
        assertThat(info.items)
                .usingFieldByFieldElementComparator()
                .containsExactly(
                        seriesInfo("node.leaf1", leaf1, None, null, null, null),
                        seriesInfo("node.leaf2", leaf2, None, null, null, null)
                );
    });
    assertThat(new TsCollectionInformation(goodCollection, TsInformationType.MetaData)).satisfies(info -> {
        assertThat(filler.fillCollection(info)).isTrue();
        assertThat(info).isEqualToIgnoringGivenFields(colInfo(null, goodCollection, TsInformationType.MetaData, null, metaOf("type", "node")), "items");
        assertThat(info.items)
                .usingFieldByFieldElementComparator()
                .containsExactly(
                        seriesInfo("node.leaf1", leaf1, TsInformationType.MetaData, null, null, null),
                        seriesInfo("node.leaf2", leaf2, TsInformationType.MetaData, null, null, null)
                );
    });
    assertThat(new TsCollectionInformation(goodCollection, All)).satisfies(info -> {
        assertThat(filler.fillCollection(info)).isTrue();
        assertThat(info).isEqualToIgnoringGivenFields(colInfo(null, goodCollection, All, null, metaOf("type", "node")), "items");
        assertThat(info.items)
                .usingFieldByFieldElementComparator()
                .containsExactly(
                        seriesInfo("node.leaf1", leaf1, All, null, "No data available", null),
                        seriesInfo("node.leaf2", leaf2, All, Data.M1, null, null)
                );
    });
}