### Question:
HiveActionBuilder extends NodeBuilderBaseImpl<HiveActionBuilder> implements Builder<HiveAction> { public HiveActionBuilder clearArgs() { this.delegate.clearArgs(); return this; } HiveActionBuilder(final Node action,
                      final ActionAttributesBuilder attributesBuilder,
                      final ModifyOnce<String> script,
                      final ModifyOnce<String> query,
                      final List<String> params); static HiveActionBuilder create(); static HiveActionBuilder createFromExistingAction(final HiveAction action); static HiveActionBuilder createFromExistingAction(final Node action); HiveActionBuilder withResourceManager(final String resourceManager); HiveActionBuilder withNameNode(final String nameNode); HiveActionBuilder withPrepare(final Prepare prepare); HiveActionBuilder withLauncher(final Launcher launcher); HiveActionBuilder withJobXml(final String jobXml); HiveActionBuilder withoutJobXml(final String jobXml); HiveActionBuilder clearJobXmls(); HiveActionBuilder withConfigProperty(final String key, final String value); HiveActionBuilder withScript(final String script); HiveActionBuilder withQuery(final String query); HiveActionBuilder withParam(final String param); HiveActionBuilder withoutParam(final String param); HiveActionBuilder clearParams(); HiveActionBuilder withArg(final String arg); HiveActionBuilder withoutArg(final String arg); HiveActionBuilder clearArgs(); HiveActionBuilder withFile(final String file); HiveActionBuilder withoutFile(final String file); HiveActionBuilder clearFiles(); HiveActionBuilder withArchive(final String archive); HiveActionBuilder withoutArchive(final String archive); HiveActionBuilder clearArchives(); @Override HiveAction build();  }### Answer:
@Test public void testClearArgs() { final HiveActionBuilder builder = getBuilderInstance(); for (final String file : ARGS) { builder.withArg(file); } builder.clearArgs(); final HiveAction action = builder.build(); final List<String> argList = action.getArgs(); assertEquals(0, argList.size()); }