@Override
    public Object deserialize(String key, byte[] value) {
        return new String(value, this.charset);
    }
@Test
    public void shouldDeserializeAsString() {
        String expected = UUID.randomUUID().toString();
        byte[] value = expected.getBytes(StandardCharsets.UTF_8);

        Object deserializedValue = deserializer.deserialize("someKey", value);

        assertThat(deserializedValue, CoreMatchers.instanceOf(String.class));
        assertEquals(expected, deserializedValue);
    }