Introduced the `CommonApiTests` class to validate the behavior of the `ReCClient`'s `Common` API. - Added `using` directives for namespaces related to procedures and commands to support the new tests. - Verified dependency injection resolution for `ReCClient` and its `Common` API. - Added tests for `CreateAsync`, `UpdateAsync`, and `DeleteAsync` methods to ensure proper handling of payloads and expected behavior: - `CreateAsync_with_invalid_action_payload_throws_or_completes`: Tests invalid payload handling for `CreateAsync`. - `UpdateAsync_with_body_payload_throws_or_completes`: Tests payload handling for `UpdateAsync`. - `DeleteAsync_sends_payload_as_query_string`: Verifies query string construction for `DeleteAsync`.
2.8 KiB
2.8 KiB