@Test
public void testExecute_success_noDefaultTarget() throws Exception {

	String instancePath = InstanceHelpers.computeInstancePath( this.app.getTomcatVm());
	String line = "replicate /" + this.app.getTomcatVm().getName() + " as toto";
	ReplicateCommandExecution executor = buildExecutor( line );
	Mockito.verifyZeroInteractions( this.instancesMngr );
	Mockito.verifyZeroInteractions( this.targetsMngr );
	executor.execute();
	Mockito.verify( this.instancesMngr, Mockito.times( 1 )).addInstance( this.ma, null, new Instance( "toto" ));
	Mockito.verify( this.targetsMngr, Mockito.times( 1 )).findTargetId( this.app, instancePath, true );
	Mockito.verify( this.targetsMngr, Mockito.times( 0 )).findTargetId( this.app, null );
	Mockito.verify( this.targetsMngr, Mockito.times( 0 )).associateTargetWith(
			Mockito.anyString(),
			Mockito.any( Application.class ),
			Mockito.anyString());
}