new EditorClientId("sessionId", 2L));
when(mockWorkspace.removeEditorClients("sessionId")).thenReturn(
editorClientIds);
spy.getOrRegisterWorkspace(workspaceId);
HAccount hAccount = new HAccount();
HPerson person = new HPerson();
person.setName("patrick");
person.setEmail("pahuang@redhat.com");
hAccount.setPerson(person);
when(accountDAO.getByUsername("admin")).thenReturn(hAccount);
spy.exitWorkspace("admin");
verify(mockWorkspace).removeEditorClients("sessionId");