@@ -0,0 +1,990 @@
+package com.alapshin.arctor.presenter;%0A%0A%0Aimport com.alapshin.arctor.view.MvpView;%0A%0Aimport org.junit.Test;%0A%0Aimport static org.assertj.core.api.Assertions.*;%0Aimport static org.mockito.Mockito.*;%0A%0Apublic class BasePresenterTest %7B%0A    @Test%0A    public void shouldAttachView() %7B%0A        MvpView view = mock(MvpView.class);%0A        BasePresenter%3CMvpView%3E presenter = new BasePresenter%3C%3E();%0A        presenter.attachView(view);%0A        assertThat(presenter.getView()).isNotNull();%0A        assertThat(presenter.isViewAttached()).isTrue();%0A    %7D%0A%0A    @Test%0A    public void shouldDetachView() %7B%0A        MvpView view = mock(MvpView.class);%0A        BasePresenter%3CMvpView%3E presenter = new BasePresenter%3C%3E();%0A%0A        presenter.attachView(view);%0A        assertThat(presenter.getView()).isNotNull();%0A        assertThat(presenter.isViewAttached()).isTrue();%0A%0A        presenter.detachView();%0A        assertThat(presenter.getView()).isNull();%0A        assertThat(presenter.isViewAttached()).isFalse();%0A    %7D%0A%7D%0A

Add tests for BasePresenter