Top Description Methods
org.jooq.tools.jdbc

public Interface MockCallable<T>

Annotations
@FunctionalInterface
Imports
org.jooq.Configuration

An FunctionalInterface that wraps mockable code.
Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public T

Returns:

The outcome of the mockable code.
run
(Configuration
The MockConfiguration that executes all queries using a MockConnection and the supplied MockDataProvider.
configuration
)

Run the mockable code.

Method Detail

runback to summary
public T run(Configuration configuration) throws Exception

Run the mockable code.

Parameters
configuration:Configuration

The MockConfiguration that executes all queries using a MockConnection and the supplied MockDataProvider.

Returns:T

The outcome of the mockable code.

Exceptions
Exception:
Any exception.