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