final String prettyId = "demo";
final String fullName = "Demo Demo";
final String faviconUrl = "";
final String permaLink = "http://platform35.demo.exoplatform.org/portal/classic/profile/demo";
final String title = "Activity Stream of Demo";
RestActivityStream restActivityStream = new RestActivityStream(type, prettyId, fullName, faviconUrl, title, permaLink);
assertThat("restActivityStream.getType() must return: " + type, restActivityStream.getType(), equalTo(type));
assertThat("restActivityStream.getPrettyId() must return: " + prettyId, restActivityStream.getPrettyId(), equalTo(prettyId));
assertThat("restActivityStream.getFullName() must return: " + fullName, restActivityStream.getFullName(), equalTo(fullName));
assertThat("restActivityStream.getFaviconUrl() must return: " + faviconUrl, restActivityStream.getFaviconUrl(),
equalTo(faviconUrl));
assertThat("restActivityStream.getPermaLink() must return: " + permaLink, restActivityStream.getPermaLink(),
equalTo(permaLink));
assertThat("restActivityStream.getTitle() must return: " + title, restActivityStream.getTitle(), equalTo(title));
}