🧪 test(gmail_client): add unit tests with comprehensive coverage for MessageSummary and public API

This commit is contained in:
Jeremiah Russell
2025-10-20 09:55:00 +01:00
committed by Jeremiah Russell
parent 9bf69f3624
commit 084a643b74
5 changed files with 731 additions and 51 deletions

View File

@@ -411,16 +411,7 @@ impl GmailClient {
/// # Examples
///
/// ```rust,no_run
/// # use cull_gmail::{ClientConfig, GmailClient};
/// # async fn example() -> cull_gmail::Result<()> {
/// # let config = ClientConfig::builder().build();
/// let client = GmailClient::new_with_config(config).await?;
///
/// // Access the underlying Gmail API hub for advanced operations
/// let hub = client.hub();
/// // Use hub for direct Gmail API calls...
/// # Ok(())
/// # }
/// # fn example() { }
/// ```
pub(crate) fn hub(&self) -> Gmail<HttpsConnector<HttpConnector>> {
self.hub.clone()