@Test
public void createTopLevelFactModelTreeSimpleNoCollection() throws WrongDMNTypeException {

    // Single property retrieve
    DMNType simpleString = getSimpleNoCollection();
    FactModelTree retrieved = dmnTypeServiceImpl.createTopLevelFactModelTree("testPath", simpleString, new TreeMap<>(), FactModelTree.Type.INPUT);
    assertNotNull(retrieved);
    assertEquals("testPath", retrieved.getFactName());
    assertEquals(1, retrieved.getSimpleProperties().size());
    assertTrue(retrieved.getSimpleProperties().containsKey(VALUE));
    assertEquals(simpleString.getName(), retrieved.getSimpleProperties().get(VALUE).getTypeName());
    assertFalse(retrieved.getSimpleProperties().get(VALUE).getBaseTypeName().isPresent());
    assertEquals(simpleString.getName(), retrieved.getSimpleProperties().get(VALUE).getPropertyTypeNameToVisualize());
    assertTrue(retrieved.getExpandableProperties().isEmpty());
    assertTrue(retrieved.getGenericTypesMap().isEmpty());
}