DistinctKlvProcessor extends SingleFieldKlvProcessor { @Override public void accept(Visitor visitor) { visitor.visit(this); } protected  DistinctKlvProcessor(String attributeName, String stanagFieldName); @Override void accept(Visitor visitor);  }
@Test public void accept() { DistinctKlvProcessor distinctKlvProcessor = new DistinctKlvProcessor("a", "b"); KlvProcessor.Visitor visitor = mock(KlvProcessor.Visitor.class); distinctKlvProcessor.accept(visitor); verify(visitor).visit(distinctKlvProcessor); }