@Test
public void cancelShouldRedirectToAdminView() throws Exception {

    // setup
    ProductCategoryFormBean expectedFormBean = new ProductCategoryFormBean();
    // exercise test
    ModelAndView returnedView = productCategoryPreviewController.processFormSubmit("Cancel", "", expectedFormBean, bindingResult);
    // verification
    Assert.assertThat(returnedView.getViewName(), is(ADMIN_VIEW));
}