@Before
public void setUp() throws Exception {
controller = new WidgetController();
service = createMock(WidgetService.class);
controller.setWidgetService(service);
widgetValidator = new UpdateWidgetValidator(service);
controller.setWidgetValidator(widgetValidator);
validToken = AdminControllerUtil.generateSessionToken();
preferenceService = createMock(PortalPreferenceService.class);
controller.setPreferenceService(preferenceService);
categoryService = createMock(CategoryService.class);