public void SetUp() { _pathProvider = MockRepository.GenerateMock <IPathProvider>(); _xmlPath = FakeXmlPath.CrateXmlPaths(); _xlnConfigCommon = FakePublicWebsiteXml.CreateCommonSection(); _xlnConfiguration = FakeConfigurationXml.CreateXlnConfiguration(); }
public void SetUp() { _configReader = MockRepository.GenerateStub <IXmlConfigReader>(); _xlnMainSection = new XlnMainSection { PublicWebsiteSections = FakePublicWebsiteXml.CreateXlnMainSection().ToList(), ConfigurationSections = FakeConfigurationXml.CreateSections().ToList() }; }
private static XDocument GetFakeXmlConfiguration() { return(FakeConfigurationXml.GetFakeWebsiteConfiguration()); }