public a_namespace_securable()
        {
            action_with_exact_namespace_match = new CommandScenario<SimpleCommand>();
            action_with_partial_namespace_match = new SimpleCommand();
            action_within_another_namespace = new CommandInADifferentNamespace();

            namespace_securable = new NamespaceSecurable(typeof(CommandScenario<>).Namespace);
        }
Exemple #2
0
 public static void ShouldBeASuccessfulScenario <T>(this CommandScenario <T> scenario) where T : class, ICommand
 {
     scenario.IsSuccessful().ShouldBeTrue();
 }