@Test
public void getOverlap() {

    // Test null overlap
    final DataSetOptions options = new DataSetOptions();
    final MockJdbcDataSetProvider provider = new MockJdbcDataSetProvider();
    Assert.assertNull("Expected overlap to be null", provider.getOverlap(options));
    // Test non-null overlap
    options.setOption("overlap", "60");
    Assert.assertEquals(new Long(60000), provider.getOverlap(options));
    // Test negative overlap
    options.setOption("overlap", "-5");
    Assert.assertEquals(new Long(5000), provider.getOverlap(options));
}