public void Ctor_ShouldSetUpPropertiesCorrectly_WhenCalledWithOneArg() { var review = new Mock <IBeerReview>(); var args = new BeerReviewInfoEventArgs(review.Object); Assert.AreSame(review.Object, args.BeerReview); }
public void Ctor_ShouldSetUpPropertiesCorrectly() { var review = new Mock <IBeerReview>(); var image = new byte[1]; var args = new BeerReviewInfoEventArgs(review.Object, image); Assert.AreSame(review.Object, args.BeerReview); Assert.AreSame(image, args.Image); }