public void ShouldReturnABusEventForAccommodationSupplierCreated()
 {
     var id = Guid.NewGuid();
     var mapper = new AccommodationSupplierCreatedMapper();
     var domainEvent = new AccommodationSupplierCreated
         {
             ID = id,
             Name = "Something",
             Email = "*****@*****.**"
         };
     Assert.That(mapper.Map(domainEvent), Is.TypeOf<Messages.Events.AccommodationSupplierCreated>());
 }
 private void Apply(AccommodationSupplierCreated @event)
 {
     this.ID = @event.ID;
     this._name = @event.Name;
     this._email = @event.Email;
 }