### Question:
RangeFactory { public static Range createTailRange(int size) { return createRange(0, -Math.abs(size)); } RangeFactory(); static Range createRange(int start, int size); static Range createAllRange(); static Range createHeadRange(int size); static Range createTailRange(int size); static Range getALL(); static Range getFIRST(); static Range getLAST(); static final Range ALL; static final Range FIRST; static final Range LAST; }### Answer:
@Test public void testCreateTailRange() { doCreateTailRangeTest(0); doCreateTailRangeTest(3); doCreateTailRangeTest(-7); }