@Test
public void testPostProcess() throws KlvDecodingException {

  TrimmingPostProcessor trimmingPostProcessor = new TrimmingPostProcessor();
  KlvHandler klvHandler = mock(KlvHandler.class, withSettings().extraInterfaces(Trimmable.class));
  trimmingPostProcessor.postProcess(
      Collections.emptyMap(), Collections.singletonMap("field", klvHandler));
  verify((Trimmable) klvHandler).trim();
}