protected void tearDown() throws Exception {
EasyMock.verify(dao);
}
public void testFind() throws Exception {
QueryParam qp = new QueryParam(0, 10, "foo", true);
Contact contact = createMockContext();
Iterator<Contact> expected = createContactResultList(contact);
EasyMock.expect(dao.find(qp, contact)).andReturn(expected);
EasyMock.replay(dao);
ContactsDataProvider provider = new ContactsDataProvider(dao);