BucketDataItem implements Serializable { public Date getStartTime() { return startTime; } BucketDataItem(int period, Date startTime, DescriptiveStatistics stats); int getPeriod(); Date getStartTime(); DescriptiveStatistics getStats();  }
@Test public void testGetStartTime_1() throws Exception { BucketDataItem fixture = new BucketDataItem(1, new Date(), new DescriptiveStatistics()); Date result = fixture.getStartTime(); assertNotNull(result); }