### Question:
RollupEvent { public Locator getLocator() { return locator; } RollupEvent(Locator loc, Rollup rollup, String unit, String gran, long ts); Rollup getRollup(); Locator getLocator(); String getUnit(); String getGranularityName(); long getTimestamp(); void setUnit(String unit);  }### Answer:
@Test public void locatorGetsSetInConstructor() { Assert.assertSame(locator, event.getLocator()); }