@Test
public void testBuilderByLocalDate() {

    CustomFactory<LocalDate> factory = new CustomFactory<LocalDate>() {
        @Override
        public Builder2<LocalDate> builderOf(ObsGathering gathering) {
            return builderByLocalDate(gathering);
        }
        @Override
        public LocalDate dateOf(int year, int month, int dayOfMonth) {
            return LocalDate.of(year, month, dayOfMonth);
        }
    };
    testBuilderAdd(factory);
    testBuilderPresent(factory);
    testBuilderAbsent(factory);
}