// we need a UINamingContainer for this test
application.addComponent(UINamingContainer.COMPONENT_TYPE, UINamingContainer.class.getName());
_testApplication.addComponent(UINamingContainer.COMPONENT_TYPE, UINamingContainer.class.getName());
// configure FaceletContext mock
MockVariableMapper variableMapper = new MockVariableMapper();
EasyMock.expect(_faceletContext.getVariableMapper()).andReturn(variableMapper).anyTimes();
_faceletContext.setVariableMapper((VariableMapper) EasyMock.anyObject());
EasyMock.expectLastCall().anyTimes();
_mocksControl.replay();