@@ -0,0 +1,1289 @@
+package com.devinci.lib.activity;%0A%0Aimport android.os.Bundle;%0Aimport android.support.annotation.NonNull;%0Aimport com.devinci.lib.R;%0Aimport com.devinci.lib.app.BaseApplication;%0Aimport com.devinci.lib.app.BaseComponent;%0Aimport com.devinci.lib.app.DaggerBaseComponent;%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.assertj.core.api.Assertions.assertThat;%0A%0A@RunWith(RobolectricGradleTestRunner.class)%0A@Config(application = BaseActivityTest.TestBaseApplication.class) public class BaseActivityTest %7B%0A%0A  @Test public void shouldInjectCrashReporting() %7B%0A    BaseActivity activity = Robolectric.setupActivity(TestBaseActivity.class);%0A%0A    assertThat(activity.crashReporting).isNotNull();%0A  %7D%0A%0A  private static class TestBaseActivity extends BaseActivity %7B%0A%0A    @Override protected void onCreate(Bundle savedInstanceState) %7B%0A      super.onCreate(savedInstanceState);%0A      setTheme(R.style.lib_Theme_Light_NoActionBar);%0A    %7D%0A  %7D%0A%0A  public static class TestBaseApplication extends BaseApplication%3CBaseComponent%3E %7B%0A%0A    @NonNull @Override protected BaseComponent createBaseComponent() %7B%0A      return DaggerBaseComponent.create();%0A    %7D%0A  %7D%0A%7D%0A

Rewrite BaseActivityTest to Robolectric