TPSInfo implements Serializable { @Override public String toString() { return new ToStringBuilder(this).append("key", key).append("period", period).append("tps", getTPS()) .append("timestamp", timestamp).toString(); } TPSInfo();  TPSInfo(Date timestamp, String key, int transactions, int period); TPSInfo add(TPSInfo toAdd); Date getTimestamp(); String getKey(); int getTransactions(); int getPeriodInSeconds(); int getTPS(); @Override String toString(); @Override boolean equals(Object obj); @Override int hashCode();  }
@Test public void testToString_1() throws Exception { TPSInfo fixture = new TPSInfo(new Date(), "", 1, 1); String result = fixture.toString(); }