winter-testing / io.jentz.winter.testing / io.jentz.winter.ComponentBuilder / bindAllMocks

bindAllMocks

fun ComponentBuilder.bindAllMocks(source: Any): Unit

Register all properties that are annotated with Mock or Spy as a provider.

Parameters

source - The source object to search for Mock and Spy properties.