/Source/Bifrost.Specs/Events/for_EventMigrationHierarchy/given/an_event_migration_hierarchy_with_two_levels.cs

# · C# · 15 lines · 14 code · 1 blank · 0 comment · 0 complexity · fc16121ecd1e4fc23b453676481f5ad0 MD5 · raw file

  1. using Machine.Specifications;
  2. using v2 = Bifrost.Fakes.Events.v2;
  3. using v3 = Bifrost.Fakes.Events.v3;
  4. namespace Bifrost.Specs.Events.for_EventMigrationHierarchy.given
  5. {
  6. public class an_event_migration_hierarchy_with_two_levels : an_initialized_event_migration_hierarchy
  7. {
  8. Establish context = () =>
  9. {
  10. event_migration_hierarchy.AddMigrationLevel(typeof(v2.SimpleEvent));
  11. event_migration_hierarchy.AddMigrationLevel(typeof(v3.SimpleEvent));
  12. };
  13. }
  14. }