@Test
public void cancelShouldRedirectToAdminView() throws Exception {

    // setup
    LatenessDormancyFormBean expectedFormBean = new LatenessDormancyFormBean();
    expectedFormBean.setLatenessDays(1);
    expectedFormBean.setDormancyDays(1);
    // exercise test
    String returnedView = latenessDormancyController.processFormSubmit("Cancel", expectedFormBean, bindingResult, sessionStatus);
    // verification
    Assert.assertThat(returnedView, is(ADMIN_VIEW));
    Mockito.verify(sessionStatus).setComplete();
}