예제 #1
0
        public void SetUp()
        {
            _helper = new EnumerableHelper();

            _mocks = new MockRepository();

            _fileRetriever = _mocks.StrictMock<IFileRetriever>();
            _ruleRetriever = _mocks.StrictMock<IRuleRetriever>();
            _ruleRunner = new RuleRunner(_fileRetriever, _ruleRetriever);
        }
예제 #2
0
 public RuleRunner(IFileRetriever fileRetriever, IRuleRetriever ruleRetriever)
 {
     _fileRetriever = fileRetriever;
     _ruleRetriever = ruleRetriever;
 }