public void testGet_valid() { // This calls get() on each index and checks the result: expectContents(createOrderedArray()); }
public void testGet_tooLarge() { try { getList().get(getNumElements()); fail("get(size) should throw"); } catch (IndexOutOfBoundsException expected) { } } }
public void testGet_tooLarge() { try { getList().get(getNumElements()); fail("get(size) should throw"); } catch (IndexOutOfBoundsException expected) { } } }
public void testGet_valid() { // This calls get() on each index and checks the result: expectContents(createOrderedArray()); }
public void testGet_tooLarge() { try { getList().get(getNumElements()); fail("get(size) should throw"); } catch (IndexOutOfBoundsException expected) { } } }
public void testGet_valid() { // This calls get() on each index and checks the result: expectContents(createOrderedArray()); }