### Question:
DMNIncludedNodeFactory { QName createTypeRef(final String modelName, final QName qName) { return new QName(qName.getNamespaceURI(), modelName + "." + qName.getLocalPart(), qName.getPrefix()); }  DMNIncludedNode makeDMNIncludeNode(final String path,
                                              final IncludedModel includeModel,
                                              final DRGElement drgElement);  }### Answer:
@Test public void testCreateTypeRef() { final DMNIncludedNodeFactory factory = new DMNIncludedNodeFactory(); final QName qname = mock(QName.class); final String modelName = "modelName"; final String namespaceUri = "uri"; final String prefix = "prefix"; final String localPart = "localPart"; when(qname.getNamespaceURI()).thenReturn(namespaceUri); when(qname.getPrefix()).thenReturn(prefix); when(qname.getLocalPart()).thenReturn(localPart); final QName typeRef = factory.createTypeRef(modelName, qname); assertEquals(namespaceUri, typeRef.getNamespaceURI()); assertEquals(modelName + "." + localPart, typeRef.getLocalPart()); assertEquals(prefix, typeRef.getPrefix()); }