### Question:
ShellActionBuilder extends NodeBuilderBaseImpl<ShellActionBuilder> implements Builder<ShellAction> { public ShellActionBuilder clearArguments() { this.attributesBuilder.clearArgs(); return this; } private  ShellActionBuilder(final Node action,
                               final ActionAttributesBuilder attributesBuilder,
                               final ModifyOnce<String> executable,
                               final List<String> environmentVariables); static ShellActionBuilder create(); static ShellActionBuilder createFromExistingAction(final ShellAction action); static ShellActionBuilder createFromExistingAction(final Node action); ShellActionBuilder withResourceManager(final String resourceManager); ShellActionBuilder withNameNode(final String nameNode); ShellActionBuilder withPrepare(final Prepare prepare); ShellActionBuilder withLauncher(final Launcher launcher); ShellActionBuilder withJobXml(final String jobXml); ShellActionBuilder withoutJobXml(final String jobXml); ShellActionBuilder clearJobXmls(); ShellActionBuilder withConfigProperty(final String key, final String value); ShellActionBuilder withExecutable(final String executable); ShellActionBuilder withArgument(final String argument); ShellActionBuilder withoutArgument(final String argument); ShellActionBuilder clearArguments(); ShellActionBuilder withEnvironmentVariable(final String environmentVariable); ShellActionBuilder withoutEnvironmentVariable(final String environmentVariable); ShellActionBuilder clearEnvironmentVariables(); ShellActionBuilder withFile(final String file); ShellActionBuilder withoutFile(final String file); ShellActionBuilder clearFiles(); ShellActionBuilder withArchive(final String archive); ShellActionBuilder withoutArchive(final String archive); ShellActionBuilder clearArchives(); ShellActionBuilder withCaptureOutput(final Boolean captureOutput); @Override ShellAction build();  }### Answer:
@Test public void testClearArguments() { final ShellActionBuilder builder = getBuilderInstance(); for (final String file : ARGS) { builder.withArgument(file); } builder.clearArguments(); final ShellAction action = builder.build(); final List<String> argList = action.getArguments(); assertEquals(0, argList.size()); }