### Question:
DistcpActionBuilder extends NodeBuilderBaseImpl<DistcpActionBuilder> implements Builder<DistcpAction> { public DistcpActionBuilder withConfigProperty(final String key, final String value) { attributesBuilder.withConfigProperty(key, value); return this; } DistcpActionBuilder(final Node action,
                        final ActionAttributesBuilder attributesBuilder); static DistcpActionBuilder create(); static DistcpActionBuilder createFromExistingAction(final Node action); DistcpActionBuilder withResourceManager(final String resourceManager); DistcpActionBuilder withNameNode(final String nameNode); DistcpActionBuilder withPrepare(final Prepare prepare); DistcpActionBuilder withConfigProperty(final String key, final String value); DistcpActionBuilder withJavaOpts(final String javaOpts); DistcpActionBuilder withArg(final String arg); DistcpActionBuilder withoutArg(final String arg); DistcpActionBuilder clearArgs(); @Override DistcpAction build();  }### Answer:
@Test public void testSameConfigPropertyAddedTwiceThrows() { final DistcpActionBuilder builder = getBuilderInstance(); builder.withConfigProperty(MAPRED_JOB_QUEUE_NAME, DEFAULT); expectedException.expect(IllegalStateException.class); builder.withConfigProperty(MAPRED_JOB_QUEUE_NAME, DEFAULT); }