/Source/Bifrost.Specs/Events/for_EventMigrationManager/when_migrating_an_event_that_is_first_generation.cs
C# | 17 lines | 14 code | 3 blank | 0 comment | 0 complexity | 85edfa8d67fe15852da9545bcf99ddb7 MD5 | raw file
Possible License(s): CC-BY-SA-3.0
- using Bifrost.Events;
- using Bifrost.Specs.Events.for_EventMigrationManager.given;
- using Bifrost.Specs.Events.for_EventMigrationService.given;
- using Machine.Specifications;
- using It = Machine.Specifications.It;
-
- namespace Bifrost.Specs.Events.for_EventMigrationService
- {
- class when_migrating_an_event_that_is_first_generation : an_event_migrator_service_with_no_registered_migrators
- {
- static IEvent result;
-
- Because of = () => result = event_migrator_manager.Migrate(source_event);
-
- It should_return_the_same_instance_of_the_event = () => result.ShouldBeTheSameAs(source_event);
- }
- }