### Question:
ListBoxFieldProvider extends SelectorFieldProvider<ListBoxBaseDefinition> { @Override public boolean isSupported(TypeInfo typeInfo) { return super.isSupported(typeInfo) || typeInfo.getType().equals(TypeKind.ENUM); }  @Override Class<ListBoxFieldType> getFieldType(); @Override String getFieldTypeName(); @Override int getPriority(); @Override ListBoxBaseDefinition getDefaultField(); @Override ListBoxBaseDefinition createFieldByType(TypeInfo typeInfo); @Override boolean supports(Class clazz); @Override boolean isSupported(TypeInfo typeInfo);  }### Answer:
@Test public void testisSupported() { when(typeInfo.getType()).thenReturn(TypeKind.ENUM); assertTrue(provider.isSupported(typeInfo)); }