### Question:
CursorList implements Iterable<T>, Closeable { public List<T> asList() { List<T> l = new ArrayList<T>(size()); for (T t : this) { l.add(t); } return l; } CursorList(Cursor cursor, Class<T> type); int size(); T get(int pos); List<T> asList(); @Override Iterator<T> iterator(); Cursor getCursor(); @Override void close();  }### Answer:
@Test public void asList() { List<TestModel> list = this.list.asList(); assertEquals(list.get(1).title, this.list.get(1).title); }