users = Maps.newHashMap();
}
@Test
public void testExecute() throws Exception {
GetTranslatorList action = GetTranslatorList.ACTION;
WorkspaceId workspaceId = TestFixture.workspaceId();
Person person = TestFixture.person();
EditorClientId editorClientId = new EditorClientId("sid", 1);
action.setWorkspaceId(workspaceId);
when(translationWorkspaceManager.getOrRegisterWorkspace(workspaceId))
.thenReturn(translationWorkspace);
users.put(editorClientId, new PersonSessionDetails(person, null));
when(translationWorkspace.getUsers()).thenReturn(users);
when(accountDAO.getByUsername(person.getId().toString())).thenReturn(