PageRenderTime 9ms CodeModel.GetById 2ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 1ms

/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
 1using Bifrost.Fakes.Sagas;
 2using Bifrost.Sagas;
 3using Machine.Specifications;
 4
 5namespace Bifrost.Specs.Sagas.for_ChapterTransitionHelper
 6{
 7    public class when_asking_by_type_and_it_can_transition
 8    {
 9        static bool can_transition;
10
11		Because of = () => can_transition = ChapterTransitionHelper.CanTransition(typeof(TransitionalChapter), typeof(NonTransitionalChapter));
12
13        It should_not_be_able_to_transition = () => can_transition.ShouldBeTrue();
14    }
15}