Exemplo n.º 1
0
        public void SetUp()
        {
            theFeed = new Feed();
            theConfig = new SolutionConfig
                {
                    Feeds = new[] {theFeed}
                };

            const string rippleConfig = "ripple.config";
            var fileSystem = MockRepository.GenerateStub<IFileSystem>();
            fileSystem.Stub(x => x.LoadFromFile<SolutionConfig>(rippleConfig)).Return(theConfig);

            theLoader = new ClassicRippleSolutionLoader();
            theSolution = theLoader.LoadFrom(fileSystem, rippleConfig);
        }