testResources

abstract fun testResources(maker: (MockspressoProperties) -> Unit): MockspressoBuilder

A utility method intended to enable the creation of shared "test resources" that can add to, pull from and define some kind of functionality within the injected dependencies of the mockspresso graph.

The maker callback will be fired immediately when calling this method and does not wait for the instance to be ensured. This allows the test resources to add/configure dependencies in the graph.