@Test
public void onVersionNameUpdate_dialogShouldBeDisplayed() {

    mockResult(TestConstants.jsonVersionNameMajorUpdate);
    siren.checkVersion(activity, SirenVersionCheckType.IMMEDIATELY, APP_DESCRIPTION_URL);
    mockResult(TestConstants.jsonVersionNameMinorUpdate);
    siren.checkVersion(activity, SirenVersionCheckType.IMMEDIATELY, APP_DESCRIPTION_URL);
    mockResult(TestConstants.jsonVersionNamePatchUpdate);
    siren.checkVersion(activity, SirenVersionCheckType.IMMEDIATELY, APP_DESCRIPTION_URL);
    mockResult(TestConstants.jsonVersionNameRevisionUpdate);
    siren.checkVersion(activity, SirenVersionCheckType.IMMEDIATELY, APP_DESCRIPTION_URL);
    Mockito.verify(alertWrapper, Mockito.times(4)).show();
}