@Test
public void convertByteToByte() throws ParserException {

    Object converted = SchemaValueConverter.convert(Schema.Type.BYTE, Byte.MAX_VALUE);
    Assert.assertTrue(Schema.Type.BYTE.valueOfSameType(converted));
    Assert.assertEquals(Byte.MAX_VALUE, converted);
    converted = SchemaValueConverter.convert(Schema.Type.BYTE, Byte.MIN_VALUE);
    Assert.assertTrue(Schema.Type.BYTE.valueOfSameType(converted));
    Assert.assertEquals(Byte.MIN_VALUE, converted);
}