@Test
public void GetMentions() {

    ArrayList<Entity> mentions = new ArrayList<Entity>();
    mentions.add(new Entity() {
        {
            setType("mention");
        }
    });
    mentions.add(new Entity() {
        {
            setType("reaction");
        }
    });
    Activity activity = createActivity();
    activity.setEntities(mentions);
    List<Mention> mentionsResult = activity.getMentions();
    Assert.assertEquals(mentionsResult.size(), 1);
    Assert.assertEquals(mentionsResult.get(0).getType(), "mention");
}