/Source/Bifrost.Specs/Events/for_EventMigrationManager/given/an_event_with_a_migrator.cs

# · C# · 14 lines · 12 code · 2 blank · 0 comment · 0 complexity · 1d865a4828eb90279d821e899a152d8a MD5 · raw file

  1. using System;
  2. using Bifrost.Events;
  3. using Bifrost.Fakes.Events;
  4. using Bifrost.Specs.Events.for_EventMigrationManager.given;
  5. using Machine.Specifications;
  6. namespace Bifrost.Specs.Events.for_EventMigrationService.given
  7. {
  8. public abstract class an_event_with_a_migrator : an_event_migrator_service_with_no_registered_migrators
  9. {
  10. private Establish context = () => event_migrator_manager.RegisterMigrator(typeof(SimpleEventV1ToV2Migrator));
  11. }
  12. }