### Question:
MongoFrameworkDao extends MongoDao<Framework, String> implements FrameworkDao { @Override public List<Framework> findAll() { return query().order("label").asList(); } @Inject  MongoFrameworkDao(Datastore datastore); @Override List<Framework> findAll();  }### Answer:
@Test public void findAllFrameworks() { List<Framework> frameworks = frameworkDao.findAll(); assertEquals("There should be 3 frameworks in the datastore", 3, frameworks.size()); assertEquals("The first item in the component list should have and id of \"first\"", "first", frameworks.get(0).getId()); assertEquals("The second item in the component list should have and id of \"second\"", "second", frameworks.get(1).getId()); assertEquals("The third item in the component list should have and id of \"third\"", "third", frameworks.get(2).getId()); }