public void CustomerManagerGetsRegisteredOnSiteMap() { TestableModuleInitializer moduleInitializer = new TestableModuleInitializer(); SiteMapBuilderService siteMapBuilder = new SiteMapBuilderService(); moduleInitializer.RegisterSiteMapInformation(siteMapBuilder); SiteMapNodeInfo node = siteMapBuilder.GetChildren(siteMapBuilder.RootNode.Key)[0]; Assert.AreEqual("CustomerManager", node.Key); }
public void CustomerManagerGetsRegisteredOnSiteMap() { TestableModuleInitializer moduleInitializer = new TestableModuleInitializer(); SiteMapBuilderService siteMapBuilder = new SiteMapBuilderService(); moduleInitializer.RegisterSiteMapInformation(siteMapBuilder); SiteMapNodeInfo node = siteMapBuilder.GetChildren(siteMapBuilder.RootNode.Key)[0]; Assert.AreEqual("CustomerManager", node.Key); }