@Test
public void shouldDecodeSomeHolder() throws DecodingException {

    Codec<SomeHolder> codec = Codecs.create(SomeHolder.class, new VariableLengthByteArrayCodecFactory());
    SomeHolder holder = Codecs.decode(codec, (byte) 0xff, (byte) 0x0f);
    assertThat(holder.getValue(), is(not(nullValue())));
    assertThat(holder.getValue().length, is(2));
    assertThat(holder.getValue()[0], is((byte) 0xff));
    assertThat(holder.getValue()[1], is((byte) 0x0f));
    Codecs.document(codec, Codecs.DocumentType.Html, System.err);
}