@Test
public void onWindowVisibilityChanged_fromInvisibleToVisible_shouldUnpauseRefresh() throws Exception {

    subject.onWindowVisibilityChanged(View.INVISIBLE);
    reset(adViewController);
    subject.onWindowVisibilityChanged(View.VISIBLE);
    verify(adViewController, never()).pauseRefresh();
    verify(adViewController).unpauseRefresh();
}