public void Can_run_nested_service()
		{
			var host = new TestAppHost();
			host.Init();

			var request = new Nested();
			var response = host.ExecuteService(request) as NestedResponse;

			Assert.That(response, Is.Not.Null);
		}
		public void Can_run_test_service()
		{
			var host = new TestAppHost();
			host.Init();

			var request = new Test();
			var response = host.ExecuteService(request) as TestResponse;

			Assert.That(response, Is.Not.Null);
			Assert.That(response.Foo, Is.Not.Null);
		}
		public void Call_AsyncOneWay_endpoint_on_AsyncTestService_calls_ExecuteAsync()
		{
			var host = new TestAppHost();
			host.Init();

			TestAsyncService.ResetStats();

			var request = new TestAsync();
			var response = host.ExecuteService(request, EndpointAttributes.OneWay) as TestAsyncResponse;

			Assert.That(response, Is.Not.Null);
			Assert.That(response.ExecuteTimes, Is.EqualTo(0));
			Assert.That(response.ExecuteAsyncTimes, Is.EqualTo(1));
		}