@Test public void clearProperties() { FakeBuild build = new FakeBuild(); build.setProperties(ImmutableMap.of("one", "1", "two", "2")); assertThat(build.getProperties()).hasSize(2); assertThat(build.getProperty("one")).isEqualTo("1"); assertThat(build.getProperty("two")).isEqualTo("2"); build.clearProperties(); assertThat(build.getProperties()).isEmpty(); }
public T clearProperties() { this.properties.clear(); return (T) this; }
Build { public T clearProperties() { this.properties.clear(); return (T) this; } }
Build { public T clearProperties() { this.properties.clear(); return (T) this; }  }
Build { public T clearProperties() { this.properties.clear(); return (T) this; }  long getTimeoutSeconds(); T setTimeoutSeconds(long l); Map<String, String> getProperties(); String getProperty(String key); T clearProperties(); T setProperties(Map<String, String> p); T setProperties(String... keyValues); T setProperty(String key, @Nullable String value); @Deprecated T setProfile(@Nullable String profileKey); Map<String, String> getEnvironmentVariables(); Map<String, String> getEffectiveEnvironmentVariables(); T setEnvironmentVariable(String name, String value); List<String> arguments(); T addArgument(String additionalArgument); T addArguments(String... additionalArguments); T addArguments(List<String> additionalArguments); T setArguments(List<String> additionalArguments); @Deprecated T withoutDynamicAnalysis(); }
Build { public T clearProperties() { this.properties.clear(); return (T) this; }  long getTimeoutSeconds(); T setTimeoutSeconds(long l); Map<String, String> getProperties(); String getProperty(String key); T clearProperties(); T setProperties(Map<String, String> p); T setProperties(String... keyValues); T setProperty(String key, @Nullable String value); @Deprecated T setProfile(@Nullable String profileKey); Map<String, String> getEnvironmentVariables(); Map<String, String> getEffectiveEnvironmentVariables(); T setEnvironmentVariable(String name, String value); List<String> arguments(); T addArgument(String additionalArgument); T addArguments(String... additionalArguments); T addArguments(List<String> additionalArguments); T setArguments(List<String> additionalArguments); @Deprecated T withoutDynamicAnalysis(); static final long DEFAULT_TIMEOUT_SECONDS; }