@Test
public void dispatcherDoesNotResetBreadCrumbListIfResetAnnotationHasSpecifiedPreviousPageClassAsIgnored()
throws Exception {
this.breadCrumbList.add(new BreadCrumbInfo("edit.title", new LinkMock("/edit/2"), "Edit"));
this.breadCrumbList.add(new BreadCrumbInfo("group"));
this.addPage("index", new IndexPageWithIgnoreMock());
this.addPage("group", new GroupPageMock());
final RequestMock request = new RequestMock("localhost", 80, "/app", "/index/1");
final Response response = new ResponseMock();
this.dispatcher.dispatch(request, response);
assertEquals("list size", 2, this.breadCrumbList.getCrumbsToDisplay().size());