@Test
public void onWindowVisibilityChanged_fromVisibleToInvisible_shouldPauseRefresh() throws Exception {

    // Default visibility is View.VISIBLE
    subject.onWindowVisibilityChanged(View.INVISIBLE);
    verify(adViewController).pauseRefresh();
    verify(adViewController, never()).unpauseRefresh();
}