@Test(expected = SecurityException.class)
public void createCategory_invalidToken(){
Model model = new ExtendedModelMap();
String invalidToken = AdminControllerUtil.generateSessionToken();
User user = new UserImpl();
String categoryText = "Social";
CategoryImpl category = new CategoryImpl();
category.setText(categoryText);
SessionStatus sessionStatus = createMock(SessionStatus.class);
expect(userService.getAuthenticatedUser()).andReturn(user).once();