public void SinglePhoto_ShouldThrowExceptiopWhenLargeImagePathIsEmpty() { //Arrange string thumb = "thumb"; string large = ""; string alt = "alt"; var prettyPhotoMatcher = SimplePrettyPhotoMedia(thumb, large, alt); var factory = new prettyPhotoMediaFactory(); //Act var prettyPhoto = factory.SinglePhoto(thumb, large, alt); //Assert }
public void SinglePhoto_ShouldNuildASimpleImageWithThumbAndLargePicsInput() { //Arrange string thumb = "thumb"; string large = "large"; string alt = "alt"; var prettyPhotoMatcher = SimplePrettyPhotoMedia(thumb, large, alt); var factory = new prettyPhotoMediaFactory(); //Act var prettyPhoto = factory.SinglePhoto(thumb, large, alt); //Assert // prettyPhoto.Should().Be(prettyPhotoMatcher); }