Пример #1
0
 public SpecRunner(IAssemblyTypeLoader assemblyType, ISpecFinder finder,
                   IReportFactory factory, ParentClassRuleExecutor executor)
 {
     _assemblyType = assemblyType;
     _finder = finder;
     _factory = factory;
     _executor = executor;
 }
Пример #2
0
 public void Setup()
 {
     var spec = typeof(BankAccountSpec);
     var ruleExecutor = new ParentClassRuleExecutor();
     results = ruleExecutor.Execute(spec).Results;
 }