public FileResults(IFile file, EnumerableHelper enumerableHelper) { _enumerableHelper = enumerableHelper; _file = file; _errorMessages = new List<IError>(); }
public void SetUp() { _helper = new EnumerableHelper(); _mocks = new MockRepository(); _file = _mocks.Stub<IFile>(); _fileResults = new FileResults(_file); }
public void SetUp() { _helper = new EnumerableHelper(); _mocks = new MockRepository(); _file = _mocks.StrictMock<IFile>(); _rule = new UsingMsBuild4Rule(); }
public void SetUp() { _helper = new EnumerableHelper(); _mocks = new MockRepository(); _fileRetriever = _mocks.StrictMock<IFileRetriever>(); _ruleRetriever = _mocks.StrictMock<IRuleRetriever>(); _ruleRunner = new RuleRunner(_fileRetriever, _ruleRetriever); }