### Question:
NodeBuilderBaseImpl { public B withParentDefaultConditional(final Node parent) { checkNoDuplicateParent(parent); parentsWithConditions.add(new Node.NodeWithCondition(parent, Condition.defaultCondition())); return ensureRuntimeSelfReference(); } NodeBuilderBaseImpl();   NodeBuilderBaseImpl(final Node node); B withErrorHandler(final ErrorHandler errorHandler); B withoutErrorHandler(); B withName(final String name); B withCredential(final Credential credential); B withoutCredential(final Credential credential); B clearCredentials(); B withRetryMax(final Integer retryMax); B withRetryInterval(final Integer retryInterval); B withRetryPolicy(final String retryPolicy); B withParent(final Node parent); B withParentWithCondition(final Node parent, final String condition); B withParentDefaultConditional(final Node parent); B withoutParent(final Node parent); B clearParents();  }### Answer:
@Test public void testAddDuplicateDefaultParentTwiceAsDefaultThrows() { final Node parent = getBuilderInstance().build(); final NodeBuilderBaseImpl<B> builder = getBuilderInstance() .withParentDefaultConditional(parent); expectedException.expect(IllegalArgumentException.class); builder.withParentDefaultConditional(parent); }