From 8c6431fd834337be7f6b88e3c8a29c6a17e0b9cf Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 24 Oct 2022 22:32:42 +0200 Subject: test: add binding configurator unit tests --- src/provider/async.rs | 1 + src/provider/blocking.rs | 1 + 2 files changed, 2 insertions(+) (limited to 'src/provider') diff --git a/src/provider/async.rs b/src/provider/async.rs index 06e1d1d..53cadc8 100644 --- a/src/provider/async.rs +++ b/src/provider/async.rs @@ -36,6 +36,7 @@ where } #[async_trait] +#[cfg_attr(test, mockall::automock, allow(dead_code))] pub trait IAsyncProvider: Send + Sync where DIContainerType: IAsyncDIContainer, diff --git a/src/provider/blocking.rs b/src/provider/blocking.rs index 435a8e5..3de77e4 100644 --- a/src/provider/blocking.rs +++ b/src/provider/blocking.rs @@ -21,6 +21,7 @@ where ), } +#[cfg_attr(test, mockall::automock, allow(dead_code))] pub trait IProvider where DIContainerType: IDIContainer, -- cgit v1.2.3-18-g5258