io.javalin.mock.ContextMockConfigurer.kt Maven / Gradle / Ivy
package io.javalin.mock
fun interface ContextMockConfigurer {
/** Apply changes to the [ContextMockConfig] instance. */
fun ContextMockConfig.configure()
}
internal fun invokeConfigWithConfigurerScope(configurer: ContextMockConfigurer, config: ContextMockConfig) {
with(configurer) { config.configure() }
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy