new WorkspaceId(new ProjectIterationId("projectSlug",
"iterationSlug", ProjectType.Podir), LocaleId.EN_US);
DocumentInfo docInfo =
new DocumentInfo(new DocumentId(new Long(1), ""), "test",
"test/path", LocaleId.EN_US,
new ContainerTranslationStatistics(), new AuditInfo(
new Date(), "Translator"),
new HashMap<String, String>(), new AuditInfo(
new Date(), "last translator"));
when(display.getTmTextBox()).thenReturn(tMTextBox);
when(tMTextBox.getText()).thenReturn("query");
when(display.getSearchType()).thenReturn(searchType);