InjectServiceCapable

Interface for injecting services into a test context and returning a result.

Implementations of this interface allow configuring service dependencies for testing scenarios and provide a fluent API for test setup.

Parameters

R

The return type of the inject operation, typically the test builder itself for chaining.

See also

Inheritors

Functions

Link copied to clipboard
abstract fun inject(inject: ServiceProvider.() -> Unit): R

Injects services into the test context using the provided configuration block.