### Question:
SparkActionBuilder extends NodeBuilderBaseImpl<SparkActionBuilder> implements Builder<SparkAction> { public SparkActionBuilder clearArgs() { this.attributesBuilder.clearArgs(); return this; } SparkActionBuilder(final Node action,
                       final ActionAttributesBuilder attributesBuilder,
                       final ModifyOnce<String> master,
                       final ModifyOnce<String> mode,
                       final ModifyOnce<String> actionName,
                       final ModifyOnce<String> actionClass,
                       final ModifyOnce<String> jar,
                       final ModifyOnce<String> sparkOpts); static SparkActionBuilder create(); static SparkActionBuilder createFromExistingAction(final SparkAction action); static SparkActionBuilder createFromExistingAction(final Node action); SparkActionBuilder withResourceManager(final String resourceManager); SparkActionBuilder withNameNode(final String nameNode); SparkActionBuilder withPrepare(final Prepare prepare); SparkActionBuilder withLauncher(final Launcher launcher); SparkActionBuilder withJobXml(final String jobXml); SparkActionBuilder withoutJobXml(final String jobXml); SparkActionBuilder clearJobXmls(); SparkActionBuilder withConfigProperty(final String key, final String value); SparkActionBuilder withMaster(final String master); SparkActionBuilder withMode(final String mode); SparkActionBuilder withActionName(final String actionName); SparkActionBuilder withActionClass(final String actionClass); SparkActionBuilder withJar(final String jar); SparkActionBuilder withSparkOpts(final String sparkOpts); SparkActionBuilder withArg(final String arg); SparkActionBuilder withoutArg(final String arg); SparkActionBuilder clearArgs(); SparkActionBuilder withFile(final String file); SparkActionBuilder withoutFile(final String file); SparkActionBuilder clearFiles(); SparkActionBuilder withArchive(final String archive); SparkActionBuilder withoutArchive(final String archive); SparkActionBuilder clearArchive(); @Override SparkAction build();  }### Answer:
@Test public void testClearArgs() { final SparkActionBuilder builder = getBuilderInstance(); for (final String file : ARGS) { builder.withArg(file); } builder.clearArgs(); final SparkAction action = builder.build(); final List<String> argList = action.getArgs(); assertEquals(0, argList.size()); }