@Test
public void testCheckMessagingConnectionWithAgent_invalidInstance() throws Exception {

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