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