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 SinglePhotoUseLargeForBoth_ShouldReturntheRightPaths() { //Arrange string large = "large"; string alt = "alt"; var prettyPhotoMatcher = SimplePrettyPhotoMedia(large, large, alt); var factory = new prettyPhotoMediaFactory(); //Act var prettyPhoto = factory.SinglePhotoUseLargeForBoth(large, alt); //Assert // prettyPhoto.Should().Be(prettyPhotoMatcher); }
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); }