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