winter-testing / io.jentz.winter.testing / io.jentz.winter.Component.Builder / bindAllMocks

bindAllMocks

fun Builder.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.