public abstract class MockApp extends Object implements App
App implementation that allows a
caller to override scanned services with mocked
services. In other words, this will execute a service scan
and selectively replace services within the dependency
graph with mocked services.
This is a valuable pattern as it allows a mixture of real and mocked services for testing purposes.
| Modifier and Type | Class and Description |
|---|---|
static class |
MockApp.Builder |
| Constructor and Description |
|---|
MockApp() |
Copyright © 2018. All rights reserved.