/**
* Tests that the rel="nofollow" link is added to comments.
*/
public void testNoFollowAddedToComments() throws Exception {
ContentDecoratorContext context = new ContentDecoratorContext();
context.setView(ContentDecoratorContext.DETAIL_VIEW);
Comment comment1 = blogEntry.createComment("title1", "body1", "author", "email", "website", "avatar", "127.0.0.1");
blogEntry.addComment(comment1);
Comment comment2 = blogEntry.createComment("title2", "body2", "author", "email", "website", "avatar", "127.0.0.1");
blogEntry.addComment(comment2);