/Source/Bifrost.Specs/Sagas/for_ChapterTransitionHelper/when_asking_by_type_and_it_can_transition.cs
# · C# · 15 lines · 12 code · 3 blank · 0 comment · 0 complexity · 92c5cccba0e3e6ad3bcd4319b47b00d5 MD5 · raw file
- using Bifrost.Fakes.Sagas;
- using Bifrost.Sagas;
- using Machine.Specifications;
-
- namespace Bifrost.Specs.Sagas.for_ChapterTransitionHelper
- {
- public class when_asking_by_type_and_it_can_transition
- {
- static bool can_transition;
-
- Because of = () => can_transition = ChapterTransitionHelper.CanTransition(typeof(TransitionalChapter), typeof(NonTransitionalChapter));
-
- It should_not_be_able_to_transition = () => can_transition.ShouldBeTrue();
- }
- }