CollectionViewPresenter { void detach() { disposeDisposable(); collectionView = null; } CollectionViewPresenter(@NonNull DataProvider<?> dataProvider);   }
@Test public void testDetach() throws Exception { tested.detach(); assertThat(tested.collectionView).isNull(); }