presenter.setStatesForTesting(null, submittedRequest);
LocaleId localeId = new LocaleId("zh");
ProjectIterationId projectIterationId =
new ProjectIterationId("project", "master", ProjectType.Podir);
when(userWorkspaceContext.getWorkspaceContext()).thenReturn(
new WorkspaceContext(new WorkspaceId(projectIterationId,
localeId), "workspaceName", localeId.getId()));
when(userWorkspaceContext.getSelectedDoc()).thenReturn(
new DocumentInfo(new DocumentId(new Long(1), ""), "doc.txt",
"/pot", new LocaleId("en-US"),
new ContainerTranslationStatistics(), new AuditInfo(