@Test public void testSeriesFill() { TsFiller filler = TsCursorAsFiller.of(logger, goodCursor, monikers, goodCursor); assertThat(new TsInformation(null, goodSeries, None)).satisfies(info -> { assertThat(filler.fillSeries(info)).isTrue(); assertThat(info).isEqualToComparingFieldByField(seriesInfo("leaf3", goodSeries, None, null, null, null)); }); assertThat(new TsInformation(null, goodSeries, TsInformationType.MetaData)).satisfies(info -> { assertThat(filler.fillSeries(info)).isTrue(); assertThat(info).isEqualToComparingFieldByField(seriesInfo("leaf3", goodSeries, TsInformationType.MetaData, null, null, customMeta)); }); assertThat(new TsInformation(null, goodSeries, All)).satisfies(info -> { assertThat(filler.fillSeries(info)).isTrue(); assertThat(info).isEqualToComparingFieldByField(seriesInfo("leaf3", goodSeries, All, Data.M2, null, customMeta)); }); }
@NonNull public static TsFiller of(@NonNull Logger logger, @NonNull HasTsCursor hdc, @NonNull HasDataMoniker hdm, @NonNull HasDataDisplayName hddn) { return new ComposedFiller(new CursorResource(logger, hdc, hdm, hddn)); }
TsCursorAsFiller { @NonNull public static TsFiller of(@NonNull Logger logger, @NonNull HasTsCursor hdc, @NonNull HasDataMoniker hdm, @NonNull HasDataDisplayName hddn) { return new ComposedFiller(new CursorResource(logger, hdc, hdm, hddn)); } }
TsCursorAsFiller { @NonNull public static TsFiller of(@NonNull Logger logger, @NonNull HasTsCursor hdc, @NonNull HasDataMoniker hdm, @NonNull HasDataDisplayName hddn) { return new ComposedFiller(new CursorResource(logger, hdc, hdm, hddn)); } private  TsCursorAsFiller(); }
TsCursorAsFiller { @NonNull public static TsFiller of(@NonNull Logger logger, @NonNull HasTsCursor hdc, @NonNull HasDataMoniker hdm, @NonNull HasDataDisplayName hddn) { return new ComposedFiller(new CursorResource(logger, hdc, hdm, hddn)); } private  TsCursorAsFiller(); @NonNull static TsFiller of(@NonNull Logger logger, @NonNull HasTsCursor hdc, @NonNull HasDataMoniker hdm, @NonNull HasDataDisplayName hddn); }
TsCursorAsFiller { @NonNull public static TsFiller of(@NonNull Logger logger, @NonNull HasTsCursor hdc, @NonNull HasDataMoniker hdm, @NonNull HasDataDisplayName hddn) { return new ComposedFiller(new CursorResource(logger, hdc, hdm, hddn)); } private  TsCursorAsFiller(); @NonNull static TsFiller of(@NonNull Logger logger, @NonNull HasTsCursor hdc, @NonNull HasDataMoniker hdm, @NonNull HasDataDisplayName hddn);  }