@Test
public void getFactModelTree() {

    Map<String, FactModelTree.PropertyTypeName> simpleProperties = getSimplePropertiesInner();
    final ModelField[] modelFields = getModelFieldsInner(simpleProperties);
    final FactModelTree retrieved = abstractDMODataManagementStrategySpy.getFactModelTree(FACT_NAME, Collections.emptyMap(), modelFields);
    assertNotNull(retrieved);
    assertEquals(FACT_NAME, retrieved.getFactName());
    assertEquals(FULL_PACKAGE, retrieved.getFullPackage());
    assertFalse(retrieved.getSimpleProperties().isEmpty());
    retrieved.getSimpleProperties().entrySet().forEach(
            entry -> {
                assertFalse(entry.getValue().getBaseTypeName().isPresent());
                assertEquals(entry.getValue().getTypeName(), entry.getValue().getPropertyTypeNameToVisualize());
            }
    );
}