@Test
void toJavaTypeUnableToAccessToDatabaseMethod() {

    final StringToEnumTypeMapper<B.NaMe> tm = new StringToEnumTypeMapper<>();
    injector.inject(tm);
    assertThrows(IllegalArgumentException.class, () -> tm.toJavaType(column, B.class, "ONE"));
}