Example usage for org.apache.wicket.util IContextProvider interface-usage

List of usage examples for org.apache.wicket.util IContextProvider interface-usage

Introduction

In this page you can find the example usage for org.apache.wicket.util IContextProvider interface-usage.

Usage

From source file com.premiumminds.webapp.wicket.testing.AbstractComponentTest.java

/**
 * Base class for creating unit tests for wicket components. The core of the class is based on
 * {@link WicketTester#startComponentInPage(Component)}, and it uses {@link EasyMockSupport#createMockBuilder(Class)}
 * to create a mock of {@link AjaxRequestTarget} with which to verify Ajax calls from the component.
 * Note that {@link AjaxRequestTarget#addListener(IListener)}, {@link AjaxRequestTarget#respond(IRequestCycle)}
 * and {@link AjaxRequestTarget#detach(IRequestCycle)} are ignored by the mock, as they are used by the wicket