@Test
public void testExtractByTimeRange_intersectingMiddle() throws ParseException {

    final List<SamplingPoint> samples = createSamplingPoints();
    final Date extractStart = TimeUtil.parseCcsdsUtcFormat("2003-08-01T00:00:00Z");
    final Date extractStop = TimeUtil.parseCcsdsUtcFormat("2003-08-31T23:59:59Z");
    final TimeRange extractRange = new TimeRange(extractStart, extractStop);
    final List<SamplingPoint> augustSamples = SamplePointExporter.extractSamples(samples, extractRange);
    assertNotNull(augustSamples);
    assertEquals(102, augustSamples.size());
    assertEquals(98, samples.size());
    TestHelper.assertPointsInTimeRange(extractStart, extractStop, augustSamples);
}