@Test( expected = ApplicationWsException.class )
public void testAddInstance_child_failure() throws Exception {

	// We cannot deploy a WAR directly on a VM!
	// At least, this what the graph says.
	Instance newWar = new Instance( "war-2" ).component( this.app.getWar().getComponent());
	Assert.assertEquals( 1, this.app.getTomcatVm().getChildren().size());
	Assert.assertFalse( this.app.getTomcatVm().getChildren().contains( newWar ));
	this.client.getApplicationDelegate().addInstance( this.app.getName(), InstanceHelpers.computeInstancePath( this.app.getTomcatVm()), newWar );
}