public class MockableSpringBeanInjector extends MockableBeanInjector
Application.init(). Then you can provide mocked objects by calling
MockableBeanInjector.mockBean(String, Object) usually in your unit tests.| Constructor and Description |
|---|
MockableSpringBeanInjector(org.apache.wicket.protocol.http.WebApplication webapp) |
| Modifier and Type | Method and Description |
|---|---|
static void |
installInjector(org.apache.wicket.protocol.http.WebApplication webapp) |
clearMockBeans, inject, injectMocks, injectOriginals, installInjector, mockBean, onInstantiationCopyright © 2009–2018. All rights reserved.