public static async Task <CallResponse <TResult> > InvokeIsolatedGetAsync <TResult>(CallRequirements call) { using (var tester = new ApiIntegrationTester(TestSetupIoC.CreateIoC)) { return(await tester.InvokeGetAsync <TResult>(call)); } }
/// <summary> /// Send a GET to the specified URI using a test server and configuration created just for this call. /// </summary> /// <param name="call">Details the requirements of the call to be made.</param> public static async Task <CallResponse> InvokeIsolatedGetAsync(CallRequirements call) { using (var tester = new ApiIntegrationTester()) { return(await tester.InvokeGetAsync(call)); } }