//! Copyright (c) 2026 Kirky.X. All rights reserved.
//! See LICENSE for full license text.
//! OAuth2 协议层测试 mock 实现。
//!
//! 本模块仅在 `cfg(test)` 下编译(通过 `mod.rs` 中的 `#[cfg(test)] mod mock;` 声明),
//! 提供 `make_client` 辅助函数(创建指向 wiremock MockServer 的 OAuth2Client),
//! 供 `protocol::oauth2::tests` 集成测试复用。
use crateOAuth2Client;
use MockServer;
/// 创建测试用 OAuth2Client,指向 mock server。
pub async