handler.execute(action, null);
verify(identity).checkLoggedIn();
verify(translationWorkspace).publish(eventCaptor.capture());
PublishWorkspaceChat chat = eventCaptor.getValue();
assertThat(chat.getPersonId(), Matchers.equalTo("admin"));
assertThat(chat.getMsg(), Matchers.equalTo("hi"));
assertThat(chat.getMessageType(),
Matchers.equalTo(HasWorkspaceChatData.MESSAGE_TYPE.USER_MSG));
}