示例#1
0
        public void ZeroConfig_basic_test()
        {
            var exampleOperation = typeof(GetCustomers);
            var resolver         = new ZeroConfigServiceResolver(GetType().Assembly,
                                                                 exampleOperation.Assembly, exampleOperation.Namespace);

            Assert.That(resolver.OperationTypes.Count, Is.GreaterThan(0));
            Assert.That(resolver.FindService(exampleOperation.Name), Is.Not.Null);
        }
		public void ZeroConfig_basic_test()
		{
			var exampleOperation = typeof(GetCustomers);
			var resolver = new ZeroConfigServiceResolver(GetType().Assembly,
				exampleOperation.Assembly, exampleOperation.Namespace);

			Assert.That(resolver.OperationTypes.Count, Is.GreaterThan(0));
			Assert.That(resolver.FindService(exampleOperation.Name), Is.Not.Null);
		}