IntegerToEnumTypeMapper implements TypeMapper<Integer, T> { @Override public String getLabel() { return "Integer to Enum"; } 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 void getLabel() { assertTrue(instance.getLabel().toLowerCase().contains("enum")); }