@Test
public void testProcessMsgNotifInstanceChanged_rootIsNotDeployed() throws Exception {

	this.managerWrapper.addManagedApplication( new ManagedApplication( this.app ));
	this.app.getMySqlVm().setStatus( InstanceStatus.NOT_DEPLOYED );
	MsgNotifInstanceChanged msg = new MsgNotifInstanceChanged( this.app.getName(), this.app.getMySql());
	msg.setNewStatus( InstanceStatus.DEPLOYED_STARTED );
	// The root is not deployed, the change should be dismissed
	this.processor.processMessage( msg );
	Assert.assertEquals( InstanceStatus.NOT_DEPLOYED, this.app.getMySql().getStatus());
	Assert.assertEquals( InstanceStatus.NOT_DEPLOYED, this.app.getMySqlVm().getStatus());
}