public ChatMessage SendMessage(string username, string text) { var message = new ChatMessageMock(NewUserMock(username), text, _chatRetriever()); if (null != MessageStatus) { MessageStatus(message, TChatMessageStatus.cmsReceived); } return message; }
private static IChatMessage NewChatMessage(int value) { ChatMessage message = new ChatMessageMock(null, value.ToString(), null); return message; }