fake
inline fun <BIND, IMPL : BIND> MockspressoProperties.fake(qualifier: Annotation? = null, noinline provider: () -> IMPL): Lazy<IMPL>
Content copied to clipboard
Register a dependency provided by provider that is of type IMPL but bound in the mockspresso graph with a dependencyKey made from type BIND and qualifier. Returns a Lazy with access to that dependency as type IMPL
IMPORTANT: Reading the value from the returned lazy will cause the underlying MockspressoInstance to be ensured if it hasn't been already.