@@ -0,0 +1,1868 @@
+package com.andela.voluminotesapp.activities;%0A%0Aimport android.os.Build;%0Aimport android.view.View;%0A%0Aimport com.andela.voluminotesapp.BuildConfig;%0Aimport com.andela.voluminotesapp.R;%0A%0Aimport org.junit.After;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.robolectric.Robolectric;%0Aimport org.robolectric.RobolectricGradleTestRunner;%0Aimport org.robolectric.annotation.Config;%0A%0Aimport static org.junit.Assert.*;%0A%0A/**%0A * Created by andela on 2/23/16.%0A */%0A@Config(constants = BuildConfig.class, sdk = Build.VERSION_CODES.LOLLIPOP)%0A@RunWith(RobolectricGradleTestRunner.class)%0Apublic class MainActivityTest %7B%0A%0A    private MainActivity mainActivity;%0A%0A    @Before%0A    public void setUp() throws Exception %7B%0A        mainActivity = Robolectric.setupActivity(MainActivity.class);%0A    %7D%0A%0A    @After%0A    public void tearDown() throws Exception %7B%0A%0A    %7D%0A%0A    @Test%0A    public void testOnCreate() throws Exception %7B%0A        View view = mainActivity.findViewById(R.id.drawer_layout);%0A        assertNotNull(view);%0A    %7D%0A%0A    @Test%0A    public void testOnBackPressed() throws Exception %7B%0A        %0A    %7D%0A%0A    @Test%0A    public void testOnCreateOptionsMenu() throws Exception %7B%0A%0A    %7D%0A%0A    @Test%0A    public void testOnOptionsItemSelected() throws Exception %7B%0A%0A    %7D%0A%0A    @Test%0A    public void testOnNavigationItemSelected() throws Exception %7B%0A%0A    %7D%0A%0A    @Test%0A    public void testOnViewDrag() throws Exception %7B%0A%0A    %7D%0A%0A    @Test%0A    public void testOnNoteTouch() throws Exception %7B%0A%0A    %7D%0A%0A    @Test%0A    public void testOnNoteClick() throws Exception %7B%0A%0A    %7D%0A%0A    @Test%0A    public void testOnNoteDelete() throws Exception %7B%0A%0A    %7D%0A%0A    @Test%0A    public void testOnClick() throws Exception %7B%0A%0A    %7D%0A%0A    @Test%0A    public void testOnSaveInstanceState() throws Exception %7B%0A%0A    %7D%0A%0A    @Test%0A    public void testOnPause() throws Exception %7B%0A%0A    %7D%0A%7D

Add Robolectric test