@Test
public void testProcess() {

  String name = "point-of-contact";
  String value = "John Doe";
  Attribute attribute = new AttributeImpl(name, value);
  KlvHandler klvHandler = mock(KlvHandler.class);
  when(klvHandler.asAttribute()).thenReturn(Optional.of(attribute));
  Map<String, KlvHandler> handlers = Collections.singletonMap("someStanagFieldName", klvHandler);
  MetacardImpl metacard = new MetacardImpl();
  KlvProcessor.Configuration klvConfiguration = new KlvProcessor.Configuration();
  copyPresentKlvProcessor.process(handlers, metacard, klvConfiguration);
  assertThat(metacard.getAttribute(name).getValue(), is(value));
}