Arguments { @Nonnegative public int getMaxFileSizeBytes() { return maxFileSizeBytes; }  @Nonnegative int getMaxFileSizeBytes(); @Nonnegative int getMaxRedirectHops(); @Nonnull Charset getDefaultCharset(); @Nonnull List<URI> getResources(); @Nonnull String getAgent(); boolean isHelpRequested(); @Nonnegative int getReadTimeoutMillis(); @Nonnull RobotsConfig buildRobotsConfig();  }
@Test public void givenMaxFileSizeBytesArgument_whenInit_thenMaxFileSizeBytesIsExpected() { jCommander.parse(array("--maxFileSizeBytes", "123", FIRST_RESOURCE)); assertThat(arguments.getMaxFileSizeBytes(), equalTo(123)); }
@Test public void givenSArgument_whenInit_thenMaxFileSizeBytesIsExpected() { jCommander.parse(array("-s", "456", FIRST_RESOURCE)); assertThat(arguments.getMaxFileSizeBytes(), equalTo(456)); }
@Test public void givenZeroMaxFileSizeBytes_whenInit_thenMaxFileSizeBytesIsExpected() { jCommander.parse(array("--maxFileSizeBytes", "0", FIRST_RESOURCE)); assertThat(arguments.getMaxFileSizeBytes(), equalTo(0)); }