@Test
public void testInvalidExternalExports_2() throws Exception {

	File f = this.folder.newFile();
	Utils.writeStringInto( "exports: HAProxy.ip as lb-ip HAProxy.httpPort as lb-port", f );
	ApplicationTemplateDescriptor desc = ApplicationTemplateDescriptor.load( f );
	Assert.assertEquals( 0, desc.externalExports.size());
	Assert.assertEquals( 1, desc.invalidExternalExports.size());
	Assert.assertEquals( "HAProxy.ip as lb-ip HAProxy.httpPort as lb-port", desc.invalidExternalExports.iterator().next());
}