StopWatch implements IStopWatch { @Override public int getTime() { return itsTime; } StopWatch();  StopWatch(int initialTime); @Override void addListener(IStopWatchListener listener); @Override int getTime(); @Override void removeListener(IStopWatchListener listener); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test public void testGetTime() { assertEquals(0, itsStopWatch.getTime()); int startTime = 33; assertEquals(startTime, new StopWatch(startTime).getTime()); }