@Test
public void createTopLevelFactModelTreeCompositeNoCollectionBaseType() throws WrongDMNTypeException {

    // Single property retrieve
    DMNType composite = getSingleCompositeWithBaseTypeField();
    FactModelTree retrieved = dmnTypeServiceImpl.createTopLevelFactModelTree("testPath", composite, new TreeMap<>(), FactModelTree.Type.INPUT);
    assertNotNull(retrieved);
    assertEquals("testPath", retrieved.getFactName());
    assertEquals(2, retrieved.getSimpleProperties().size());
    assertTrue(retrieved.getSimpleProperties().containsKey("name"));
    assertEquals(SIMPLE_TYPE_NAME, retrieved.getSimpleProperties().get("name").getTypeName());
    assertFalse(retrieved.getSimpleProperties().get("name").getBaseTypeName().isPresent());
    assertEquals(SIMPLE_TYPE_NAME, retrieved.getSimpleProperties().get("name").getPropertyTypeNameToVisualize());
    //
    assertTrue(retrieved.getSimpleProperties().containsKey("gender"));
    assertEquals("simpleType", retrieved.getSimpleProperties().get("gender").getTypeName());
    assertEquals(SIMPLE_TYPE_NAME, retrieved.getSimpleProperties().get("gender").getBaseTypeName().get());
    assertEquals(SIMPLE_TYPE_NAME, retrieved.getSimpleProperties().get("gender").getPropertyTypeNameToVisualize());
    assertTrue(retrieved.getExpandableProperties().isEmpty());
    assertTrue(retrieved.getGenericTypesMap().isEmpty());
}