@Test
public void testEquals() {

    new EqualsTester()
            .addEqualityGroup(IrregularTimeSeriesIndex.create(Instant.parse("2015-01-01T00:00:00Z")),
                              IrregularTimeSeriesIndex.create(Instant.parse("2015-01-01T00:00:00Z")))
            .addEqualityGroup(IrregularTimeSeriesIndex.create(Instant.parse("2015-01-01T01:00:00Z")),
                              IrregularTimeSeriesIndex.create(Instant.parse("2015-01-01T01:00:00Z")))
            .testEquals();
}