// TODO: This test will actually mess with contacts on your phone.
// Ideally we would use a fake content provider to give us contact data...
@Override
    protected void setUp() throws Exception {
        super.setUp();
        // TODO: This test will actually mess with contacts on your phone.
        // Ideally we would use a fake content provider to give us contact data...
        FakeFactory.registerWithoutFakeContext(getTestContext());
        // add test contacts.
        addTestContact("John", "650-123-1233", "john@gmail.com", false);
        addTestContact("Joe", "(650)123-1233", "joe@gmail.com", false);
        addTestContact("Jim", "650 123 1233", "jim@gmail.com", false);
        addTestContact("Samantha", "650-123-1235", "samantha@gmail.com", true);
        addTestContact("Adrienne", "650-123-1236", "adrienne@gmail.com", true);
    }
protected void setUp() throws Exception {
super.setUp();
// TODO: This test will actually mess with contacts on your phone.
// Ideally we would use a fake content provider to give us contact data...
FakeFactory.registerWithoutFakeContext(getTestContext());
// add test contacts.
@Override
protected void setUp() throws Exception {
super.setUp();
// TODO: This test will actually mess with contacts on your phone.
// Ideally we would use a fake content provider to give us contact data...
FakeFactory.registerWithoutFakeContext(getTestContext());
// add test contacts.
addTestContact("John", "650-123-1233", "john@gmail.com", false);
addTestContact("Joe", "(650)123-1233", "joe@gmail.com", false);
addTestContact("Jim", "650 123 1233", "jim@gmail.com", false);
addTestContact("Samantha", "650-123-1235", "samantha@gmail.com", true);
addTestContact("Adrienne", "650-123-1236", "adrienne@gmail.com", true);
}
@Override
protected void setUp() throws Exception {
super.setUp();
// TODO: This test will actually mess with contacts on your phone.
// Ideally we would use a fake content provider to give us contact data...
FakeFactory.registerWithoutFakeContext(getTestContext());
// add test contacts.
addTestContact("John", "650-123-1233", "john@gmail.com", false);
addTestContact("Joe", "(650)123-1233", "joe@gmail.com", false);
addTestContact("Jim", "650 123 1233", "jim@gmail.com", false);
addTestContact("Samantha", "650-123-1235", "samantha@gmail.com", true);
addTestContact("Adrienne", "650-123-1236", "adrienne@gmail.com", true);
}