@Test
public void testIterateAll() throws Exception {

    dao.create(TestModel.builder()
            .name("Ian White")
            .email("ian@example.com")
            .build());
    dao.create(TestModel.builder()
            .name("Bob Smith")
            .email("bob@example.com")
            .build());
    int count = 0;
    for (TestModel m : dao.iterateAll()) {
        count++;
    }
    assertEquals(2, count);
}