Example #1
0
        public void ForRole_AdministratorRoleAndImplementation_ReturnsAdministratorImplementation()
        {
            var container = GetNinjectAdapter();

            TestScenarios.AdministratorRole_AdministratorImplementation_ReturnsAdministratorImplementation(container);
        }
Example #2
0
        public void RegisterDefault_DefaultImplementation_ReturnsDefaultImplementation()
        {
            var container = GetNinjectAdapter();

            TestScenarios.UserRole_DefaultImplementation_ReturnsDefaultImplementation(container);
        }
Example #3
0
        public void ForContext_AdministratorImplementation_ReturnsDefaultImplementation()
        {
            var adapter = GetSimpleInjectorAdapter();

            TestScenarios.UserRole_AdministratorImplementation_ReturnsDefaultImplementation(adapter);
        }
Example #4
0
        public void ForContext_AdministratorContextAndImplementation_ReturnsAdministratorImplementation()
        {
            var adapter = new SimpleInjectorAdapter(new Container());

            TestScenarios.AdministratorRole_AdministratorImplementation_ReturnsAdministratorImplementation(adapter);
        }
Example #5
0
        public void RegisterDefault_DefaultImplementation_ReturnsDefaultImplementation()
        {
            var adapter = GetSimpleInjectorAdapter();

            TestScenarios.UserRole_DefaultImplementation_ReturnsDefaultImplementation(adapter);
        }