@@ -0,0 +1,1054 @@
+package com.basecamp.turbolinks;%0A%0Aimport android.webkit.WebView;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.mockito.Mock;%0Aimport org.mockito.MockitoAnnotations;%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(constants = TestBuildConfig.class)%0Apublic class TurbolinksViewTest extends BaseTest %7B%0A    @Mock WebView webView;%0A%0A    @Before%0A    public void setup() %7B%0A        super.setup();%0A        MockitoAnnotations.initMocks(this);%0A    %7D%0A%0A    @Test%0A    public void getRefreshLayout() %7B%0A        TurbolinksView view = new TurbolinksView(context);%0A%0A        assertThat(view.getRefreshLayout()).isNotNull();%0A    %7D%0A%0A    @Test%0A    public void attachWebView() %7B%0A        TurbolinksView view = new TurbolinksView(context);%0A        view.attachWebView(webView, false, false);%0A%0A        assertThat(view.getRefreshLayout().getChildAt(1)).isEqualTo(webView);%0A    %7D%0A%7D

Add TurbolinksViewTest