tester.getErrors().get("page"),
is(getMessage("error.authority")));
tester.request.getSession(true).setAttribute(
EditorPage.SESS_KEY_LOGIN_USER,
new Editor());
tester.start("/editor/" + UID + "/edit");
assertThat(tester.getPage(), is(instanceOf(EditorPage.class)));
assertThat(tester.getActionMethodName(), is("edit"));
assertThat(tester.isRedirect(), is(false));
assertThat(tester.getDestinationPath(), is("/error.jsp"));