@FunctionalInterface public interface MockCallable<T>
FunctionalInterface
that wraps mockable code.Modifier and Type | Method and Description |
---|---|
T |
run(Configuration configuration)
Run the mockable code.
|
T run(Configuration configuration) throws Exception
configuration
- The MockConfiguration
that executes all
queries using a MockConnection
and the supplied
MockDataProvider
.Exception
- Any exception.Copyright © 2019. All rights reserved.