public void GetSync_GetFactorialGenericSync() { var response = CreateServiceClient().Get(new GetFactorialSync { ForNumber = Param }); Assert.That(response.Result, Is.EqualTo(GetFactorialAsyncService.GetFactorial(Param))); }
public async Task GetAsync_GetFactorialNewTcsAsync() { var response = await CreateServiceClient().GetAsync(new GetFactorialNewTcsAsync { ForNumber = Param }); Assert.That(response.Result, Is.EqualTo(GetFactorialAsyncService.GetFactorial(Param))); }