token.setDocFilterText("doc filter test");
token.setEditorTextSearch("search text");
token.setProjectSearchText("project search text");
token.setDocumentPath("doc/path");
token.setProjectSearchReplacement("replacement");
when(historyChangeEvent.getValue()).thenReturn(token.toTokenString());
DocumentInfo documentInfo = TestFixture.documentInfo(1, "doc/path");
DocumentId documentId = documentInfo.getId();
when(documentListPresenter.getDocumentId("doc/path")).thenReturn(
documentId);
when(documentListPresenter.getDocumentInfo(documentId)).thenReturn(