@Test
public void equalsAndHashCodeTest()
{

  DimensionsDescriptor ddA = new DimensionsDescriptor(new CustomTimeBucket(TimeBucket.MINUTE, 5L),
      new Fields(Sets.newHashSet("a", "b")));
  DimensionsDescriptor ddB = new DimensionsDescriptor(new CustomTimeBucket(TimeBucket.MINUTE, 5L),
      new Fields(Sets.newHashSet("a", "b")));
  Assert.assertTrue(ddB.equals(ddA));
}