@Test
public void testAddInstance_root_success() throws Exception {

	Assert.assertEquals( 2, this.app.getRootInstances().size());
	Instance newInstance = new Instance( "vm-mail" ).component( this.app.getMySqlVm().getComponent());
	this.client.getApplicationDelegate().addInstance( this.app.getName(), null, newInstance );
	Collection<Instance> rootInstances = this.app.getRootInstances();
	Assert.assertEquals( 3, rootInstances.size());
	for( Instance rootInstance : rootInstances ) {
		Assert.assertNotNull( rootInstance.getName(), rootInstance.getComponent());
		Assert.assertEquals( rootInstance.getName(), Constants.TARGET_INSTALLER, rootInstance.getComponent().getInstallerName());
	}
}