public void Can_Get_Comments_By_Id() { Initialize(true); using (var repository = new NHibernateBlogService()) { var comment = new Comment() { Name = "test", Content = "test" }; repository.Save(comment); var retrievedComment = repository.GetCommentById(comment.Id); Assert.AreEqual(comment, retrievedComment); } }