@Test
public void testUpdate_template() throws Exception {

	Assume.assumeTrue( isLinuxSystem());
	copyResources( "/BashTemplate" );
	File file = new File( OUTPUT_DIR, "BashTemplateFile.update" );
	Assert.assertFalse( file.exists());
	Map<String,String> exports = new HashMap<String,String> ();
	exports.put( "ip", "127.0.0.1" );
	exports.put( "port", "8091" );
	Import importChanged = new Import(
			InstanceHelpers.computeInstancePath( this.inst ),
			this.inst.getComponent().getName(),
			exports );
	InstanceStatus statusChanged = InstanceStatus.DEPLOYED_STARTED;
	this.plugin.update( this.inst, importChanged, statusChanged );
	assertTrue( file.exists());
}