PageRenderTime 65ms CodeModel.GetById 16ms RepoModel.GetById 0ms 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
Possible License(s): CC-BY-SA-3.0
  1. using Bifrost.Commands;
  2. using Bifrost.Fakes.Domain;
  3. using Machine.Specifications;
  4. namespace Bifrost.Specs.Commands.for_DynamicCommandFactory.given
  5. {
  6. public class a_dynamic_command_factory
  7. {
  8. protected static DynamicCommandFactory factory;
  9. Establish context = () =>
  10. {
  11. StatelessAggregatedRootWithOneMethod.ResetState();
  12. factory = new DynamicCommandFactory();
  13. };
  14. }
  15. }