@Test
public void AsInstallationUpdateActivity() {

    Activity activity = createActivity();
    activity.setType("installationUpdate");
    Activity result = activity.asInstallationUpdateActivity();
    Assert.assertEquals(result.getType(), ActivityTypes.INSTALLATION_UPDATE);
}