@Test
public void givenCombinedPostsReturnsNoList_whenViewIsAttached_shouldNotPassToAdapter() throws Exception {

    //Test when view is attached and data controller emits valid data, onSubscribe should be called from view, which is attached to the adapter
    when(mDataController.getCombinedPosts()).thenReturn(Observable.empty());
    mPresenter = new PostListPresenter(mDataController);
    mPresenter.attachView(mView);
    verify(mView, never()).onSubscribe(anyList());
}