Package com.episode6.mockspresso2
Types
The main interface returned from a MockspressoBuilder. It implements MockspressoInstance but under the hood, the instance it implements is lazily initiated and doesn't become ensured/immutable until its dependencies are accessed.
Builds a mockspresso Mockspresso instance that is lazily instantiated under the hood.
A fully-constructed instance of a Mockspresso dependency map.
An interface that represents a MockspressoInstance that has not yet been fully constructed/ensured. It allows us to make changes to the graph while also leveraging kotlin's delegated properties to grab lazy references from it (that will be available after the MockspressoInstance under the hood has been ensured).
Functions
Create a new real object of type T using the rules and dependencies in the mockspresso instance.
Find an existing dependency in this mockspresso instance of type T with the provided qualifier. If the dependency hasn't been cached or constructed then it will be generated on the fly and cached from that point forward. If the binding hasn't been declared in this mockspresso instance, then a fallback will be generated.