@Test
public void retrieveFactModelTupleDmnListComposite() throws WrongDMNTypeException {

    setDmnModelLocal("dmn-list-composite.dmn", "https://github.com/kiegroup/drools/kie-dmn/_25BF2679-3109-488F-9AD1-DDBCCEBBE5F1", "dmn-list-composite");
    FactModelTuple factModelTuple = dmnTypeServiceImpl.retrieveFactModelTuple(mock(Path.class), null);
    // VisibleFacts should match inputs and decisions on given model
    int expectedVisibleFacts = dmnModelLocal.getInputs().size() + dmnModelLocal.getDecisions().size();
    assertEquals(expectedVisibleFacts, factModelTuple.getVisibleFacts().size());
    // Verify each inputDataNode has been correctly mapped
    dmnModelLocal.getInputs().forEach(inputDataNode -> verifyFactModelTree(factModelTuple, inputDataNode, factModelTuple.getHiddenFacts()));
    // Verify each decisionNode has been correctly mapped
    dmnModelLocal.getDecisions().forEach(decisionNode -> verifyFactModelTree(factModelTuple, decisionNode, factModelTuple.getHiddenFacts()));
}