public void testExecute() throws Exception {
Person person = TestFixture.person();
TransUnit selectedTransUnit = TestFixture.makeTransUnit(1);
WorkspaceId workspaceId = TestFixture.workspaceId();
EditorClientId editorClientId = new EditorClientId("sessionId", 1);
TransUnitEditAction action =
new TransUnitEditAction(person, selectedTransUnit.getId());
action.setWorkspaceId(workspaceId);
action.setEditorClientId(editorClientId);
when(translationWorkspaceManager.getOrRegisterWorkspace(workspaceId))
.thenReturn(translationWorkspace);
handler.execute(action, null);