-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface MockRunnable
AnFunctionalInterface
that wraps mockable code.- Author:
- Lukas Eder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
run(Configuration configuration)
Run the mockable code.
-
-
-
Method Detail
-
run
void run(Configuration configuration) throws Exception
Run the mockable code.- Parameters:
configuration
- TheMockConfiguration
that executes all queries using aMockConnection
and the suppliedMockDataProvider
.- Throws:
Exception
- Any exception.
-
-