@Test
public void testProcessMsgNotifInstanceChanged_invalidInstance() throws Exception {

	this.managerWrapper.addManagedApplication( new ManagedApplication( this.app ));
	this.app.getMySqlVm().setStatus( InstanceStatus.DEPLOYED_STARTED );
	MsgNotifInstanceChanged msg = new MsgNotifInstanceChanged( this.app.getName(), new Instance( "invalid instance" ));
	msg.setNewStatus( InstanceStatus.STOPPING );
	// The instance name is invalid, no update should have been performed
	this.processor.processMessage( msg );
	Assert.assertEquals( InstanceStatus.DEPLOYED_STARTED, this.app.getMySqlVm().getStatus());
}