### Question:
Buckets { public final SortedSet<Long> getTimestamps() { SortedSet<Long> result = new TreeSet<>(bucketList.keySet()); return result; } Buckets();  Buckets(final long secondsPerBucket); Map<Long, Bucket> getBucketList(); void addQueryStatus(P key, QueryStatus status); QueryStatus getQueryStatus(P key); final void add(final P primaryKey, final long timestamp, final double value); final void addInterpolated(final P primaryKey, final long timestamp, final double value); final Buckets<P>.Bucket getBucket(long timestamp); final SortedSet<Long> getTimestamps(); final long getSecondsPerBucket(); final void dump(PrintStream ps); static final long DEFAULT_BUCKET_SIZE; }### Answer:
@Test public void testGetTimestamps() throws Exception { Buckets<IHasShortcut> testSubject = makeTestBuckets(); assertTrue("GetTimestamps", null != testSubject.getTimestamps()); }