JobParameters implements Serializable { @Override public String toString() { return parameters.toString(); } JobParameters();  JobParameters(Map<String,JobParameter> parameters); @Nullable Long getLong(String key); @Deprecated Long getLong(String key, long defaultValue); @Nullable Long getLong(String key, @Nullable Long defaultValue); @Nullable String getString(String key); @Nullable String getString(String key, @Nullable String defaultValue); @Nullable Double getDouble(String key); @Deprecated Double getDouble(String key, double defaultValue); @Nullable Double getDouble(String key, @Nullable Double defaultValue); @Nullable Date getDate(String key); @Nullable Date getDate(String key, @Nullable Date defaultValue); Map<String, JobParameter> getParameters(); boolean isEmpty(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); Properties toProperties();  }
@Test public void testDateParameterToString(){ Date epoch = new Date(0L); jobParameter = new JobParameter(epoch, true); assertEquals("0", jobParameter.toString()); }