예제 #1
0
        private IUsersConfig CreateUserConfig(string xml)
        {
            var config  = CreateConfig(xml);
            var factory = new UsersConfigFactory();

            return(factory.Create(config));
        }
예제 #2
0
        public void Create_PassNullConfig_ThrowsArgumentNullException()
        {
            var factory = new UsersConfigFactory();

            Assert.Throws <ArgumentNullException>(() => factory.Create(null));
        }