### Question:
MaxValue extends AbstractRollupStat { @Override public byte getStatType() { return Constants.MAX; } MaxValue(); @SuppressWarnings("unused") // used by Jackson  MaxValue(long value); @SuppressWarnings("unused") // used by Jackson  MaxValue(double value); @Override byte getStatType();  }### Answer:
@Test public void returnsTheCorrectStatType() { assertEquals(Constants.MAX, max.getStatType()); }