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