@Test
public void testFormatExportedVars_singleInstance() {

	Component c = new Component( "c" );
	c.exportedVariables.put( "forced-ip", new ExportedVariable( "forced-ip", "127.0.0.1" ));
	c.exportedVariables.put( "port", new ExportedVariable( "port", "49535" ));
	Instance i = new Instance( "i" ).component( c );
	i.overriddenExports.put( "something", "else" );
	Map<String,String> exportedVariables = ScriptUtils.formatExportedVars( i );
	Assert.assertEquals( 3, exportedVariables.size());
	Assert.assertEquals( "127.0.0.1", exportedVariables.get( "forced_ip" ));
	Assert.assertEquals( "49535", exportedVariables.get( "port" ));
	Assert.assertEquals( "else", exportedVariables.get( "something" ));
}