### Question:
PigActionBuilder extends NodeBuilderBaseImpl<PigActionBuilder> implements Builder<PigAction> { public PigActionBuilder withConfigProperty(final String key, final String value) { this.attributesBuilder.withConfigProperty(key, value); return this; } PigActionBuilder(final Node action,
                     final ActionAttributesBuilder attributesBuilder,
                     final ModifyOnce<String> script,
                     final List<String> params); static PigActionBuilder create(); static PigActionBuilder createFromExistingAction(final PigAction action); static PigActionBuilder createFromExistingAction(final Node action); PigActionBuilder withResourceManager(final String resourceManager); PigActionBuilder withNameNode(final String nameNode); PigActionBuilder withPrepare(final Prepare prepare); PigActionBuilder withLauncher(final Launcher launcher); PigActionBuilder withJobXml(final String jobXml); PigActionBuilder withoutJobXml(final String jobXml); PigActionBuilder clearJobXmls(); PigActionBuilder withConfigProperty(final String key, final String value); PigActionBuilder withScript(final String script); PigActionBuilder withParam(final String param); PigActionBuilder withoutParam(final String param); PigActionBuilder clearParams(); PigActionBuilder withArg(final String arg); PigActionBuilder withoutArg(final String arg); PigActionBuilder clearArgs(); PigActionBuilder withFile(final String file); PigActionBuilder withoutFile(final String file); PigActionBuilder clearFiles(); PigActionBuilder withArchive(final String archive); PigActionBuilder withoutArchive(final String archive); PigActionBuilder clearArchives(); @Override PigAction build();  }### Answer:
@Test public void testSameConfigPropertyAddedTwiceThrows() { final PigActionBuilder builder = getBuilderInstance(); builder.withConfigProperty(MAPRED_JOB_QUEUE_NAME, DEFAULT); expectedException.expect(IllegalStateException.class); builder.withConfigProperty(MAPRED_JOB_QUEUE_NAME, DEFAULT); }