@Test
public void testFillLineWithIntervalGreaterThanFillRangeOffsetNegative() {

    Transform fillTransform = new FillTransform();
    List<String> constants = new ArrayList<String>();
    constants.add("1000");
    constants.add("3000");
    constants.add("3s");
    constants.add("-1s");
    constants.add("100.0");
    constants.add(String.valueOf(System.currentTimeMillis()));
    constants.add("true");
    Map<Long, Double> expected = new HashMap<Long, Double>();
    expected.put(-1000L, 100.0);
    expected.put(2000L, 100.0);
    List<Metric> result = fillTransform.transform(null, null, constants);
    assertEquals(result.get(0).getDatapoints().size(), 2);
    assertEquals(expected, result.get(0).getDatapoints());
}