protected override void because()
 {
     base.because();
     entry = new BlogEntry
                 {Author = "Me", Content = "Content", PublicationDate = DateTime.Now, Title = "Title"};
     item = new BlogEntryToRssConverter(entry).ToRssItem();
 }
 public void Save(BlogEntry entry)
 {
     Session.Save(entry);
 }
 public BlogEntryToRssConverter(BlogEntry entry)
 {
     _entry = entry;
 }
 protected override void because()
 {
     base.because();
     expected = ExpectedEntries[0];
     entry = repo.GetEntryById(expected.Id);
 }
 protected override void because()
 {
     base.because();
     entry = repo.GetEntryById(ExpectedEntries[0].Id);
     entry.Content += "Edited";
 }
 protected override void because()
 {
     entry = new BlogEntry{Content=content, Author=author, PublicationDate=publicationDate, Title=title};
 }
 protected override void because()
 {
     base.because();
     entry = repo.Create();
 }