mockspresso-api / com.episode6.hackit.mockspresso / realClassOf

realClassOf

inline fun <reified BIND_AND_IMPL : Any> Mockspresso.Builder.realClassOf(qualifier: Annotation? = null): Mockspresso.Builder

Instruct mockspresso to create a real object and bind with a dependencyKey of its own concrete type Convenience method for realImplOf when both BIND and IMPL are the same type

Parameters

qualifier - Optional qualifier annotation that applies to the binding key of this dependency

Return
the builder