String view = controller.viewCategoryResult(REFERRER_ID, categoryId, offset, model);
verify(widgetService, tagService, categoryService);
assertThat(view, is(equalTo(ViewNames.STORE)));
assertThat(model.containsAttribute(ModelKeys.WIDGETS), is(true));
assertThat(model.containsAttribute(ModelKeys.WIDGETS_STATISTICS), is(true));
assertThat(model.containsAttribute(ModelKeys.TAGS), is(true));
assertThat(model.containsAttribute(ModelKeys.CATEGORIES), is(true));
assertThat(model.containsAttribute(ModelKeys.REFERRING_PAGE_ID), is(true));
assertThat(model.containsAttribute(ModelKeys.OFFSET), is(true));
assertThat(model.containsAttribute(ModelKeys.SELECTED_CATEGORY), is(true));