@Test
public void testCheckMessagingConnectionForTheDm_success() {

	Assert.assertEquals( 0, this.msgClient.allSentMessages.size());
	UUID uuid = UUID.randomUUID();
	Response resp = this.resource.checkMessagingConnectionForTheDm( uuid.toString());
	Assert.assertEquals( Status.OK.getStatusCode(), resp.getStatus());
	Assert.assertEquals( 1, this.msgClient.allSentMessages.size());
	Message msg = this.msgClient.allSentMessages.get( 0 );
	Assert.assertEquals( MsgEcho.class, msg.getClass());
	Assert.assertEquals( uuid.toString(), ((MsgEcho) msg).getContent());
}