IntegerToEnumTypeMapper implements TypeMapper<Integer, T> { @Override public boolean isToolApplicable() { return false; } IntegerToEnumTypeMapper(); @Override String getLabel(); @Override boolean isToolApplicable(); @Override Type getJavaType(Column column); @Override TypeMapper.Category getJavaTypeCategory(Column column); @Override T toJavaType(Column column, Class<?> entityType, Integer value); @Override Integer toDatabaseType(T constant); @Inject public Injector injector; }
@Test @Disabled("Why is this mapper not applicable to the tool?") void isToolApplicable() { assertTrue(instance.isToolApplicable()); }