@Test (expected=IndexOutOfBoundsException.class)
list<int> list = null; assert list.get(1); throws NullPointerException <no message>;