@Before
public void setup() throws MalformedURLException {
userService = createMock(UserService.class);
securityTokenService = new EncryptedBlobSecurityTokenService(userService, "default", "default",
encryptionKey);
validPerson = new UserImpl(VALID_USER_ID, VALID_USER_NAME);
validPage = new PageImpl("1", validPerson.getId());