### Question:
SqoopActionBuilder extends NodeBuilderBaseImpl<SqoopActionBuilder> implements Builder<SqoopAction> { public SqoopActionBuilder withConfigProperty(final String key, final String value) { this.attributesBuilder.withConfigProperty(key, value); return this; } private  SqoopActionBuilder(final Node action,
                               final ActionAttributesBuilder attributesBuilder,
                               final ModifyOnce<String> command); static SqoopActionBuilder create(); static SqoopActionBuilder createFromExistingAction(final SqoopAction action); static SqoopActionBuilder createFromExistingAction(final Node action); SqoopActionBuilder withResourceManager(final String resourceManager); SqoopActionBuilder withNameNode(final String nameNode); SqoopActionBuilder withPrepare(final Prepare prepare); SqoopActionBuilder withLauncher(final Launcher launcher); SqoopActionBuilder withJobXml(final String jobXml); SqoopActionBuilder withoutJobXml(final String jobXml); SqoopActionBuilder clearJobXmls(); SqoopActionBuilder withConfigProperty(final String key, final String value); SqoopActionBuilder withCommand(final String command); SqoopActionBuilder withArgument(final String argument); SqoopActionBuilder withoutArgument(final String argument); SqoopActionBuilder clearArguments(); SqoopActionBuilder withFile(final String file); SqoopActionBuilder withoutFile(final String file); SqoopActionBuilder clearFiles(); SqoopActionBuilder withArchive(final String archive); SqoopActionBuilder withoutArchive(final String archive); SqoopActionBuilder clearArchives(); @Override SqoopAction build();  }### Answer:
@Test public void testSameConfigPropertyAddedTwiceThrows() { final SqoopActionBuilder builder = getBuilderInstance(); builder.withConfigProperty(MAPRED_JOB_QUEUE_NAME, DEFAULT); expectedException.expect(IllegalStateException.class); builder.withConfigProperty(MAPRED_JOB_QUEUE_NAME, DEFAULT); }