@Test
public void shouldSendNoThreadWhenNotSpecified() {
final ChatProperties properties = new ChatProperties(CHAT_URI, USER_URI, ChatStatus.locked);
final PairChat noThreadChat = new PairChat(eventBus, session, properties);
noThreadChat.setStatus(ChatStatus.ready);
noThreadChat.send(new Message("the message"));
session.verifySent("<message from='self@domain/res' to='other@domain/other' " + "type='chat'><body>the message</body></message>");
}
@Test
public void shouldSendThreadWhenSpecified() {