@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(
createHAccount("admin@redhat.com", "pahuang"));
when(gravatarServiceImpl.getUserImageUrl(16, "admin@redhat.com"))
.thenReturn("gravatarUrl");
GetTranslatorListResult result = handler.execute(action, null);