@Test
public void checkTypeSingleCompositeWithNestedCompositeCollection() {

    // nested collection
    CompositeTypeImpl singleCompositeWithComplexCollection = getSingleCompositeWithNestedCollection();
    DMNTypeServiceImpl.ErrorHolder errorHolder = new DMNTypeServiceImpl.ErrorHolder();
    dmnTypeServiceImpl.checkTypeSupport(singleCompositeWithComplexCollection, errorHolder, "fieldName");
    assertEquals(0, errorHolder.getMultipleNestedObject().size());
    assertEquals(1, errorHolder.getMultipleNestedCollection().size());
    assertTrue(errorHolder.getMultipleNestedCollection().contains("fieldName.phoneNumbers.numbers"));
}