@Test
public void testCheckMessagingConnectionWithAgent_invalidApplication() throws Exception {

	ManagedApplication ma = new ManagedApplication( this.app );
	this.managerWrapper.addManagedApplication( ma );
	Assert.assertEquals( 0, this.msgClient.allSentMessages.size());
	UUID uuid = UUID.randomUUID();
	String path = "/" + this.app.getMySqlVm().getName();
	Response resp = this.resource.checkMessagingConnectionWithAgent( "whatever", path, uuid.toString());
	Assert.assertEquals( Status.NOT_FOUND.getStatusCode(), resp.getStatus());
	Assert.assertEquals( 0, this.msgClient.allSentMessages.size());
}