Example #1
0
        public void TestProperties()
        {
            ServiceFactory serviceFactory = new MockServiceFactory();

            serviceFactory.Config = config;
            Assert.AreEqual(config, serviceFactory.Config);
        }
Example #2
0
        public AuthenticationFilter() : base()
        {
            IServiceFactory factory = new MockServiceFactory();

            AuthenticationService = factory.CreateAuthenticationService();
        }