ServiceStack.WebHost.Endpoints.Tests.ServiceStackHostTests.Call_AsyncOneWay_endpoint_on_TestService_calls_Execute C# (CSharp) Method

Call_AsyncOneWay_endpoint_on_TestService_calls_Execute() private method

		public void Call_AsyncOneWay_endpoint_on_TestService_calls_Execute()
		{
			TestService.ResetStats();

			var request = new Test();
			var response = appHost.ExecuteService(request, RequestAttributes.OneWay) as TestResponse;

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