PrimitiveIntegerToByteMapper implements TypeMapper<Integer, Byte> { @Override public Type getJavaType(Column column) { return byte.class; }  @Override String getLabel(); @Override Type getJavaType(Column column); @Override Byte toJavaType(Column column, Class<?> entityType, Integer value); @Override Integer toDatabaseType(Byte value); @Override Ordering getOrdering();  }
@Override @Test protected void getJavaType() { assertEquals(byte.class, typeMapper().getJavaType(column())); }