ListOfDatesHandler extends BaseKlvHandler { @Override public Optional<Attribute> asAttribute() { return asAttribute(dateList); } ListOfDatesHandler(String attributeName); @Override Optional<Attribute> asAttribute(); @Override void accept(KlvDataElement klvDataElement); @Override void reset();  }
@Test public void testEmpty() { assertThat(klvHandler.asAttribute().isPresent(), is(false)); }