PageRenderTime 26ms CodeModel.GetById 18ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

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