@@ -0,0 +1,1177 @@
+package com.uphyca.example.mockito;%0A%0Aimport static org.junit.Assert.assertNotNull;%0Aimport static org.junit.Assert.assertNotSame;%0Aimport static org.junit.Assert.assertSame;%0A%0Aimport java.util.List;%0A%0Aimport junit.framework.JUnit4TestAdapter;%0A%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.mockito.Mock;%0Aimport org.mockito.runners.MockitoJUnitRunner;%0A%0Aimport android.os.Looper;%0Aimport android.test.UiThreadTest;%0A%0Aimport com.uphyca.testing.InstrumentationTestCase;%0A%0A@RunWith(MockitoJUnitRunner.class)%0Apublic class MockitoRunnerExample extends InstrumentationTestCase %7B%0A%0A    public static junit.framework.Test suite() %7B%0A        return new JUnit4TestAdapter(MockitoRunnerExample.class);%0A    %7D%0A%0A    @Mock%0A    private List list;%0A%0A    @Test%0A    public void assertPreconditions() %7B%0A        assertNotNull(getInstrumentation());%0A    %7D%0A%0A    @Test%0A    @UiThreadTest%0A    public void assertNonUiThread() %7B%0A        assertSame(Looper.getMainLooper(), Looper.myLooper());%0A    %7D%0A%0A    @Test%0A    public void assertUiThread() %7B%0A        assertNotSame(Looper.getMainLooper(), Looper.myLooper());%0A    %7D%0A%0A    @Test%0A    public void shouldDoSomething() %7B%0A        list.add(100);%0A    %7D%0A%7D%0A

Add example for mockito