public void NameIsCorrect([Frozen]string name, ReservationRejectedEvent sut)
 {
     Assert.Equal<string>(name, sut.Name);
 }
 public void QuantityIsCorrect([Frozen]int quantity, ReservationRejectedEvent sut)
 {
     Assert.Equal<int>(quantity, sut.Quantity);
 }
 public void IdIsCorrect([Frozen]Guid id, ReservationRejectedEvent sut)
 {
     Assert.Equal<Guid>(id, sut.Id);
 }
 public void EmailIsCorrect([Frozen]string email, ReservationRejectedEvent sut)
 {
     Assert.Equal<string>(email, sut.Email);
 }
 public void DateIsCorrect([Frozen]DateTime date, ReservationRejectedEvent sut)
 {
     Assert.Equal<DateTime>(date, sut.Date);
 }
 public void SutIsMessage(ReservationRejectedEvent sut)
 {
     Assert.IsAssignableFrom<IMessage>(sut);
 }
 public void EnvelopReturnsCorrectBody(ReservationRejectedEvent sut)
 {
     var actual = sut.Envelop();
     Assert.Equal(sut, actual.Body);
 }