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

/Source/Bifrost.Specs/Events/for_EventSource/when_checking_if_stateless_on_a_stateful_event_source.cs

#
C# | 15 lines | 12 code | 3 blank | 0 comment | 0 complexity | 1a630728d2f54112a37a5e1e3bea1dcf MD5 | raw file
 1using Bifrost.Events;
 2using Machine.Specifications;
 3
 4namespace Bifrost.Specs.Events.for_EventSource
 5{
 6    [Subject(typeof (EventSourceExtensions))]
 7    public class when_checking_if_stateless_on_a_stateful_event_source : given.a_stateful_event_source
 8    {
 9        static bool is_stateless;
10
11        Because of = () => is_stateless = event_source.IsStateless();
12
13        It should_not_be_stateless = () => is_stateless.ShouldBeFalse();
14    }
15}