use std::sync::Arc; use recipes::email; pub struct MockEmailService; impl MockEmailService { pub fn create_service() -> Arc { Arc::new(Self {}) } } #[async_trait::async_trait] impl email::EmailServiceTrait for MockEmailService { async fn send_email( &self, _email: &str, _title: &str, _message: &str, ) -> Result<(), email::Error> { Ok(()) } }