TPSInfo implements Serializable { public int getPeriodInSeconds() { return period; } 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 testGetPeriodInSeconds_1() throws Exception { TPSInfo fixture = new TPSInfo(new Date(), "", 1, 1); int result = fixture.getPeriodInSeconds(); assertEquals(1, result); }