@Test
public void getFactModelTreeEnumClass() {

    final ModelField[] modelFields = {};
    Map<String, String> superTypesMap = new HashMap<>();
    superTypesMap.put(FACT_NAME, Enum.class.getCanonicalName());
    final FactModelTree retrieved = abstractDMODataManagementStrategySpy.getFactModelTree(FACT_NAME, superTypesMap, modelFields);
    assertNotNull(retrieved);
    assertEquals(FACT_NAME, retrieved.getFactName());
    assertEquals(FULL_PACKAGE, retrieved.getFullPackage());
    assertTrue(retrieved.getSimpleProperties().containsKey(TestProperties.LOWER_CASE_VALUE));
    assertEquals(FULL_CLASS_NAME, retrieved.getSimpleProperties().get(TestProperties.LOWER_CASE_VALUE).getTypeName());
    assertEquals(FULL_CLASS_NAME, retrieved.getSimpleProperties().get(TestProperties.LOWER_CASE_VALUE).getPropertyTypeNameToVisualize());
    assertFalse(retrieved.getSimpleProperties().get(TestProperties.LOWER_CASE_VALUE).getBaseTypeName().isPresent());
    assertEquals(FULL_CLASS_NAME, retrieved.getSimpleProperties().get(TestProperties.LOWER_CASE_VALUE).getPropertyTypeNameToVisualize());
}