DynamicObjectMaker

fun interface DynamicObjectMaker

A function that gets a chance to create any unregistered dependency needed in a given test.

Types

Link copied to clipboard
interface Answer

Response type for DynamicObjectMaker.

Functions

Link copied to clipboard
abstract fun canMakeObject(key: DependencyKey<*>, dependencies: Dependencies): DynamicObjectMaker.Answer

Return an Answer, if Answer.Yes, the value must be castable as type represented in key