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