1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#[macro_use] extern crate log; pub mod message; pub mod module; #[cfg(test)] mod tests { use super::module::*; #[test] fn initialize_client() { let _client = IotHubModuleClient::new(move |_event| { info!("Received event!"); }); } }