### Question:
NodeBase { public String getName() { return name; } protected  NodeBase(final String name); String getName(); abstract void addParent(final NodeBase parent); abstract void addParentWithCondition(final Decision parent, final Condition condition); abstract void addParentDefaultConditional(final Decision parent); abstract void removeParent(final NodeBase parent); abstract void clearParents(); abstract List<NodeBase> getChildren();  }### Answer:
@Test public void testNameIsCorrect() { final T instance = getInstance(NAME); assertEquals(NAME, instance.getName()); }