ListOfBasicKlvDataTypesHandler extends BaseKlvHandler { @Override public Optional<Attribute> asAttribute() { return asAttribute(list); } ListOfBasicKlvDataTypesHandler(
      String attributeName, Class<? extends KlvDataElement<T>> clazz); @Override Optional<Attribute> asAttribute(); @Override void accept(KlvDataElement klvDataElement); @Override void reset();  }
@Test public void testEmpty() { assertThat(handler.asAttribute().isPresent(), is(false)); }