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