protected void setUp() throws Exception
{
super.setUp();
HashMap context = new HashMap();
engineHelper = new SpringEngineHelper(context);
engineHelper.setUp();
engine = (Engine) context.get(SpringEngineHelper.ENGINE_ATTR);
// mock test PortletWindow, PortletEntity, PortletDefinition and PortletApplication
Mock entityMock = new Mock(MutablePortletEntity.class);
Mock portletDefinitionMock = new Mock(PortletDefinition.class);