@@ -0,0 +1,672 @@
+package com.shentuo.builditbigger;%0A%0Aimport android.support.test.rule.ActivityTestRule;%0Aimport android.support.test.runner.AndroidJUnit4;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Rule;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0A%0A/**%0A * Created by ShentuoZhan on 16/10/17.%0A */%0A@RunWith(AndroidJUnit4.class)%0Apublic class RetrieveJokesTest %7B%0A%0A    @Rule%0A    public ActivityTestRule%3CMainActivity%3E mActivityRule = new ActivityTestRule%3C%3E(MainActivity.class);%0A%0A    @Before%0A    public void setup() %7B%0A        mActivityRule.getActivity();%0A    %7D%0A%0A    @Test%0A    public void retrieveJokes() %7B%0A        new EndpointsAsyncTask().execute(mActivityRule.getActivity());%0A    %7D%0A%7D%0A

Add functional test