private void Apply(DataProviderUpdated @event)
 {
     Id = @event.Id;
     Name = @event.Name;
     Description = @event.Description;
     CostOfSale = @event.CostPrice;
     ResponseType = @event.ResponseType;
     FieldLevelCostPriceOverride = @event.FieldLevelCostPriceOverride;
     RequiresConsent = @event.RequiresConsent;
     Owner = @event.Owner;
     CreatedDate = @event.CreatedDate;
     EditedDate = @event.EditedDate;
     RequestFields = @event.RequestFields;
     DataFields = @event.DataFields;
 }
 public override void Observe()
 {
     var command = new DataProviderUpdated(Guid.NewGuid(), DataProviderName.IVIDVerify_E_WS, "Ivid", 10m, typeof(IProvideDataFromIvid), false, false, 1, "Owner", DateTime.UtcNow, null, null, new[] { DataFieldMother.LicenseField });
     _handler = new DataProviderUpdatedHandler(_repository.Object);
     _handler.Handle(command);
 }