dependency

abstract fun <T> dependency(key: DependencyKey<T>, provider: Dependencies.() -> T): MockspressoBuilder

Register a dependency provided by provider, bound in the mockspresso graph with key.