protected void setupPrerequisites() {
PageTemplate homeTemplate = new PageTemplateImpl();
site = EasyMock.createNiceMock(Site.class);
EasyMock.expect(site.getDefaultLanguage()).andReturn(german);
EasyMock.expect(site.getAdministrator()).andReturn(new SiteAdminImpl("admin"));
EasyMock.expect(site.getDefaultLanguage()).andReturn(german);
EasyMock.expect(site.getTemplate((String) EasyMock.anyObject())).andReturn(homeTemplate).anyTimes();
EasyMock.expect(site.getDefaultTemplate()).andReturn(homeTemplate).anyTimes();
EasyMock.replay(site);
pageURI = new PageURIImpl(site, "/service/test", "4bb19980-8f98-4873-a813-71b6dfab22as", Resource.LIVE);