//When
final Codec codec = factory.parseSimpleField(createContext(field));
//Then
assertThat(codec).isInstanceOf(ByteArrayPrimitiveCodec.class);
assertThat(((ByteBuffer)codec.encode(new byte[]{(byte)2,(byte)3})).array()).containsOnly((byte) 2, (byte) 3);
assertThat((byte[])codec.decode(ByteBuffer.wrap(new byte[]{(byte)5, (byte)6}))).containsOnly((byte) 5, (byte) 6);
}
@Test
public void should_create_byte_object_array_codec() throws Exception {