@Test
public void testSetTime() throws Exception {

    reader.setTime(product);
    final ProductData.UTC productStartTime = product.getStartTime();
    final ProductData.UTC expectedStartTime = ProductData.UTC.parse("2010-12-24-00-00", "yyyy-MM-dd-HH-mm");
    assertNotNull(productStartTime);
    assertEquals(expectedStartTime.getMJD(), productStartTime.getMJD(), 0.0);
    final ProductData.UTC productEndTime = product.getEndTime();
    final ProductData.UTC expectedEndTime = ProductData.UTC.parse("2010-12-25-00-00", "yyyy-MM-dd-HH-mm");
    assertNotNull(productEndTime);
    assertEquals(expectedEndTime.getMJD(), productEndTime.getMJD(), 0.0);
}