@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();
       
       
        FakeFactory.registerWithoutFakeContext(getTestContext());
       
        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(); fakefactory.registerwithoutfakecontext(gettestcontext()); 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); }