### Question:
RollupEvent { public String getUnit() { return unit; } 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 unitGetsSetInConstructor() { Assert.assertEquals(unit, event.getUnit()); }