@Test
public void AsMessageReactionActivity() {

    Activity activity = createActivity();
    activity.setType("messageReaction");
    Activity result = activity.asMessageReactionActivity();
    Assert.assertEquals(result.getType(), ActivityTypes.MESSAGE_REACTION);
}