Search in sources :

Example 1 with TestShopApplication

use of io.github.zutherb.appstash.shop.ui.application.TestShopApplication in project the-app by devops-dojo.

the class AbstractWicketTest method initializeWicketTester.

@Before
public void initializeWicketTester() throws Exception {
    initMocks(this);
    ApplicationContextMock appctx = initializeApplicationContext();
    TestShopApplication application = new TestShopApplication(appctx);
    wicketTester = new WicketTester(application);
}
Also used : ApplicationContextMock(org.apache.wicket.spring.test.ApplicationContextMock) TestShopApplication(io.github.zutherb.appstash.shop.ui.application.TestShopApplication) WicketTester(org.apache.wicket.util.tester.WicketTester) Before(org.junit.Before)

Aggregations

TestShopApplication (io.github.zutherb.appstash.shop.ui.application.TestShopApplication)1 ApplicationContextMock (org.apache.wicket.spring.test.ApplicationContextMock)1 WicketTester (org.apache.wicket.util.tester.WicketTester)1 Before (org.junit.Before)1