PageRenderTime 25ms CodeModel.GetById 0ms RepoModel.GetById 0ms app.codeStats 0ms

/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
  1. using Bifrost.Events;
  2. using Bifrost.Specs.Events.for_EventMigrationManager.given;
  3. using Bifrost.Specs.Events.for_EventMigrationService.given;
  4. using Machine.Specifications;
  5. using It = Machine.Specifications.It;
  6. namespace Bifrost.Specs.Events.for_EventMigrationService
  7. {
  8. class when_migrating_an_event_that_is_first_generation : an_event_migrator_service_with_no_registered_migrators
  9. {
  10. static IEvent result;
  11. Because of = () => result = event_migrator_manager.Migrate(source_event);
  12. It should_return_the_same_instance_of_the_event = () => result.ShouldBeTheSameAs(source_event);
  13. }
  14. }