### Question:
Fork extends NodeBase { void close(final Join join) { closingJoin.set(join); } Fork(final String name); NodeBase getParent(); @Override void addParent(final NodeBase parent); @Override void addParentWithCondition(final Decision parent, final Condition condition); @Override void addParentDefaultConditional(Decision parent); @Override void removeParent(final NodeBase parent); @Override void clearParents(); @Override List<NodeBase> getChildren();  }### Answer:
@Test public void testClose() { final Fork instance = getInstance("instance"); final Join join = new Join("join", instance); assertEquals(join, instance.getClosingJoin()); assertTrue(instance.isClosed()); }