### Question:
Interval implements ParamHandler { public int size() { return length; } Interval();  Interval(final int start, final int length); boolean contains(int index); int getLength(); void setLength(final int length); int getStart(); void setStart(final int start); int size(); int translate(int index); int translate(int index, boolean check); int inverseTranslate(int index); int inverseTranslate(int index, boolean check); @Override ParamSet getParams(); @Override void setParams(final ParamSet paramSet); @Override String toString(); int getEnd(); static final String START_FLAG; static final String LENGTH_FLAG; }### Answer:
@Test public void testIntervalSize() { Assert.assertEquals(length, interval.size()); }