@@ -0,0 +1,1314 @@
+package com.stolets.rxdiffutil;%0A%0Aimport android.app.Activity;%0Aimport android.support.annotation.NonNull;%0A%0Aimport org.junit.After;%0Aimport org.junit.Before;%0Aimport org.robolectric.Robolectric;%0Aimport org.robolectric.util.ActivityController;%0A%0Apublic abstract class BaseRoboTest %7B%0A    private Activity mActivity;%0A    private ActivityController%3CActivity%3E mActivityController;%0A%0A    @Before%0A    public void setupBase() %7B%0A        setActivityController(Robolectric.buildActivity(Activity.class));%0A        setActivity(getActivityController().create().get());%0A    %7D%0A%0A    @After%0A    public void tearDownBase() %7B%0A        mActivityController.pause()%0A                .stop()%0A                .destroy();%0A    %7D%0A%0A    @NonNull%0A    @SuppressWarnings(%22WeakerAccess%22)%0A    public Activity getActivity() %7B%0A        return mActivity;%0A    %7D%0A%0A    @SuppressWarnings(%22WeakerAccess%22)%0A    public void setActivity(@NonNull final Activity activity) %7B%0A        mActivity = activity;%0A    %7D%0A%0A    @NonNull%0A    @SuppressWarnings(%22WeakerAccess%22)%0A    public ActivityController%3CActivity%3E getActivityController() %7B%0A        return mActivityController;%0A    %7D%0A%0A    @SuppressWarnings(%22WeakerAccess%22)%0A    public void setActivityController(@NonNull final ActivityController%3CActivity%3E activityController) %7B%0A        mActivityController = activityController;%0A    %7D%0A%7D%0A

Add BaseRoboTest