assertEquals("substring(1,3)", object.substring(1, 3), value);
}
public void testListGetWithRange() throws Throwable {
List list = Arrays.asList(new Object[]{"a", "b", "c"});
Object range = new IntRange(true, 0, 2);
Object value = invoke(list, "getAt", range);
assertTrue("Returned List: " + value, value instanceof List);
List retList = (List) value;
assertEquals("List size", 3, retList.size());
}