### Question:
EntityCollection extends BaseObject { public List<T> all() { return where(new Filter()); }  T add(T item); T remove(T item); T findById(Serializable id); List<T> all(); T first(Object... paramValues); T one(Object... paramValues); List<T> where(Filter filter); List<T> where(Object... paramValues); long count(Filter filter); void persist();  }### Answer:
@Test public void shouldGetAll() { EntityCollection<DummyModel> collection = model.collection("children"); List<DummyModel> children = collection.all(); assertEquals(children.size(), 3); }