@Test public void testCreateName() { final DMNIncludedNodeFactory factory = new DMNIncludedNodeFactory(); final DRGElement drgElement = mock(DRGElement.class); final String theName = "the name"; final Name name = new Name(theName); final String modelName = "modelName"; when(drgElement.getName()).thenReturn(name); final Name createdName = factory.createName(drgElement, modelName); assertEquals(modelName + "." + theName, createdName.getValue()); }
Name createName(final DRGElement drgElement, final String modelName) { return new Name(modelName + "." + drgElement.getName().getValue()); }
DMNIncludedNodeFactory { Name createName(final DRGElement drgElement, final String modelName) { return new Name(modelName + "." + drgElement.getName().getValue()); } }
DMNIncludedNodeFactory { Name createName(final DRGElement drgElement, final String modelName) { return new Name(modelName + "." + drgElement.getName().getValue()); }  }
DMNIncludedNodeFactory { Name createName(final DRGElement drgElement, final String modelName) { return new Name(modelName + "." + drgElement.getName().getValue()); }  DMNIncludedNode makeDMNIncludeNode(final String path,
                                              final IncludedModel includeModel,
                                              final DRGElement drgElement); }
DMNIncludedNodeFactory { Name createName(final DRGElement drgElement, final String modelName) { return new Name(modelName + "." + drgElement.getName().getValue()); }  DMNIncludedNode makeDMNIncludeNode(final String path,
                                              final IncludedModel includeModel,
                                              final DRGElement drgElement);  }