}
});
CommentNotificationsRequest request = new CommentNotificationsRequest(null, ACTOR_ID, DESTINATION_ID,
ACTIVITY_ID, COMMENT_ID);
NotificationBatch results = sut.translate(request);
context.assertIsSatisfied();
// check recipients
assertEquals(2, results.getRecipients().size());
TranslatorTestHelper.assertRecipients(results, NotificationType.COMMENT_TO_PERSONAL_POST, AUTHOR_ID);
TranslatorTestHelper.assertRecipients(results, NotificationType.COMMENT_TO_COMMENTED_POST, STREAM_OWNER_ID,
COMMENTOR1, COMMENTOR2);
// check properties
PropertyMap<Object> props = results.getProperties();
assertEquals(6, props.size());
PropertyMapTestHelper.assertPlaceholder(props, "actor", PersonModelView.class, ACTOR_ID);
PropertyMapTestHelper.assertValue(props, "stream", activity.getDestinationStream());
PropertyMapTestHelper.assertAlias(props, "source", "stream");
PropertyMapTestHelper.assertValue(props, "activity", activity);