protected void setUp() throws Exception
{
super.setUp();
HashMap context = new HashMap();
engineHelper = new SpringEngineHelper(context);
engineHelper.setUp(getBaseDir());
engine = (Engine) context.get(SpringEngineHelper.ENGINE_ATTR);
codec = (NavigationalStateCodec) engine.getComponentManager().getComponent("NavigationalStateCodec");
portalContext = (PortalContext) engine.getComponentManager().getComponent("PortalContext");
cache = (JetspeedContentCache) engine.getComponentManager().getComponent("portletContentCache");