Example #1
0
        public void AddRequiredServicesAddsModuleContainerLocatorService()
        {
            TestableWebClientApplication     app       = new TestableWebClientApplication();
            TestableRootCompositionContainer container = new TestableRootCompositionContainer();

            app.SetTestRootCompositionContainer(container);

            app.TestAddRequiredServices();

            container.Services.Contains <ModuleContainerLocatorService>();
        }
Example #2
0
        public void AddRequiredServicesAddsAuthorizationRulesService()
        {
            TestableWebClientApplication     app       = new TestableWebClientApplication();
            TestableRootCompositionContainer container = new TestableRootCompositionContainer();

            app.SetTestRootCompositionContainer(container);

            app.TestAddRequiredServices();

            container.Services.Contains <AuthorizationRulesService>();
        }
Example #3
0
        public void AddRequiredServicesAddsWebConfigModuleInfoStore()
        {
            TestableWebClientApplication     app       = new TestableWebClientApplication();
            TestableRootCompositionContainer container = new TestableRootCompositionContainer();

            app.SetTestRootCompositionContainer(container);

            app.TestAddRequiredServices();

            container.Services.Contains <WebConfigModuleInfoStore>();
        }
Example #4
0
        public void AddRequiredServicesAddsVirtualPathUtilityService()
        {
            TestableWebClientApplication     app       = new TestableWebClientApplication();
            TestableRootCompositionContainer container = new TestableRootCompositionContainer();

            app.SetTestRootCompositionContainer(container);

            app.TestAddRequiredServices();

            container.Services.Contains <VirtualPathUtilityService>();
        }