@Configuration(beforeTestClass=true)
public void init() throws Exception
{
application = new MockApplication();
application.setStateManager( new SeamStateManager( application.getStateManager() ) );
application.setNavigationHandler( new SeamNavigationHandler( application.getNavigationHandler() ) );
//don't need a SeamVariableResolver, because we don't test the view
phases = createPhaseListener();
servletContext = new MockServletContext();
initServletContext( servletContext.getInitParameters() );