@Test
public void testOnBackPressed_DrawerOpened() {

    mMainPresenter.onBackPressed(true, false, 0);
    mMainPresenter.onBackPressed(true, true, 0);
    // unregister event listener
    verify(mView, times(2)).closeDrawer();
    // do not go back
    verify(mView, times(0)).onSuperBackPressed();
}