@Test
public void AsContactRelationUpdateActivity() {

    Activity activity = createActivity();
    activity.setType("contactRelationUpdate");
    Activity result = activity.asContactRelationUpdateActivity();
    Assert.assertEquals(result.getType(), ActivityTypes.CONTACT_RELATION_UPDATE);
}