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 java.lang.Exception
configuration
- The MockConfiguration
that executes all
queries using a MockConnection
and the supplied
MockDataProvider
.java.lang.Exception
- Any exception.Copyright © 2015. All Rights Reserved.