PageRenderTime 20ms CodeModel.GetById 14ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/Source/Bifrost.Specs/Commands/for_DynamicCommandFactory/given/a_dynamic_command_factory.cs

#
C# | 17 lines | 15 code | 2 blank | 0 comment | 0 complexity | 92c3245d206e800d032e59b3d70e50d4 MD5 | raw file
 1using Bifrost.Commands;
 2using Bifrost.Fakes.Domain;
 3using Machine.Specifications;
 4
 5namespace Bifrost.Specs.Commands.for_DynamicCommandFactory.given
 6{
 7    public class a_dynamic_command_factory
 8    {
 9        protected static DynamicCommandFactory factory;
10
11        Establish context = () =>
12                                {
13                                    StatelessAggregatedRootWithOneMethod.ResetState();
14                                    factory = new DynamicCommandFactory();
15                                };
16    }
17}