@Override
    public Encoder getValueEncoder() {
        return encoder;
    }
@Test
    public void shouldSerializeValueCorrectly() throws Exception {
        assertThat(valueCodec.getValueEncoder().encode(value).toString(CharsetUtil.UTF_8))
                .isEqualTo("{\"value\":\"test\"}");
    }