public void SetUp() { _configReader = MockRepository.GenerateStub <IXmlConfigReader>(); _configWriter = MockRepository.GenerateStub <IXmlConfigWriter>(); _xlnConfigCommon = FakePublicWebsiteXml.CreateCommonSection(); _xlnConfigTelecom = FakePublicWebsiteXml.CreateTelecomSection(); _xlnMainSection = FakePublicWebsiteXml.CreateXlnMainSection(); _xDoc = GetFakeXmlFile(); }
public void SetUp() { _configReader = MockRepository.GenerateStub <IXmlConfigReader>(); _xlnMainSection = new XlnMainSection { PublicWebsiteSections = FakePublicWebsiteXml.CreateXlnMainSection().ToList(), ConfigurationSections = FakeConfigurationXml.CreateSections().ToList() }; }