@Override
    public String getId() {
        return codec.getId();
    }
@Test
    public void delegatesGetId() {
        Mockito.when(codec.getId()).thenReturn("MyLogstashPluginId");
        final JavaCodecDelegator codecDelegator = constructCodecDelegator();
        assertEquals("MyLogstashPluginId", codecDelegator.getId());
    }