713e4f2a02532fdc2464e07cb53957c19cf6b1a1
Enhanced test coverage for the `InvokeAsync` method in the `RecActions` client by adding three new test cases: 1. `InvokeAsync_returns_BatchRecActionViewResponse_on_success`: - Verifies successful invocation with valid data. - Includes checks for `TotalActionCount` and `ActionExceptionCount`. 2. `InvokeAsync_with_batchId_string_returns_BatchRecActionViewResponse`: - Tests invocation with a `batchId` string argument. - Handles scenarios where test data is unavailable. 3. `InvokeAsync_with_batchId_string_and_unknown_profile_throws_ReCApiException`: - Confirms that an unknown profile ID throws a `ReCApiException`. - Validates exception details like HTTP method and request URI. These changes improve test robustness by covering success, edge, and error scenarios for the `InvokeAsync` method.
Description
Languages
C#
100%