public void Edit_UpdateTeaserImage() { var logbookEntry = new LogbookEntry { Id = new Guid("601A3EC6-2BB7-4A47-83CF-389429824CEB"), Title = "Test Title", TeaserImage = "the_orig_image", TeaserImageThumb = "the_thumb_image", }; var newOriginalPhotoIdentifier = new PhotoIdentifier(PhotoCategory.LogbookTeaser, false, "image.jpg"); var newThumbnailPhotoIdentifier = new PhotoIdentifier(PhotoCategory.LogbookTeaser, true, "image.jpg"); logbookEntry.Edit( "New Title", "New Teaser", "New Text", false, new Guid("4B3B79AE-3062-44FE-8AA1-14D425C081FA"), null, null, new PhotoAndThumbnailIdentifiers( newOriginalPhotoIdentifier, newThumbnailPhotoIdentifier) ); logbookEntry.TeaserImage.Should().Be(newOriginalPhotoIdentifier.Serialze()); logbookEntry.TeaserImageThumb.Should().Be(newThumbnailPhotoIdentifier.Serialze()); }