### Question:
MapReduceActionBuilder extends NodeBuilderBaseImpl<MapReduceActionBuilder> implements Builder<MapReduceAction> { public MapReduceActionBuilder withConfigProperty(final String key, final String value) { attributesBuilder.withConfigProperty(key, value); return this; } MapReduceActionBuilder(final Node action,
                           final ActionAttributesBuilder attributesBuilder); static MapReduceActionBuilder create(); static MapReduceActionBuilder createFromExistingAction(final Node action); MapReduceActionBuilder withResourceManager(final String resourceManager); MapReduceActionBuilder withNameNode(final String nameNode); MapReduceActionBuilder withPrepare(final Prepare prepare); MapReduceActionBuilder withStreaming(final Streaming streaming); MapReduceActionBuilder withPipes(final Pipes pipes); MapReduceActionBuilder withJobXml(final String jobXml); MapReduceActionBuilder withoutJobXml(final String jobXml); MapReduceActionBuilder clearJobXmls(); MapReduceActionBuilder withConfigProperty(final String key, final String value); MapReduceActionBuilder withConfigClass(final String configClass); MapReduceActionBuilder withFile(final String file); MapReduceActionBuilder withoutFile(final String file); MapReduceActionBuilder clearFiles(); MapReduceActionBuilder withArchive(final String archive); MapReduceActionBuilder withoutArchive(final String archive); MapReduceActionBuilder clearArchives(); @Override MapReduceAction build();  }### Answer:
@Test public void testSameConfigPropertyAddedTwiceThrows() { final MapReduceActionBuilder builder = getBuilderInstance(); builder.withConfigProperty(MAPRED_JOB_QUEUE_NAME, DEFAULT); expectedException.expect(IllegalStateException.class); builder.withConfigProperty(MAPRED_JOB_QUEUE_NAME, DEFAULT); }