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