Properties props = loadProperties(propFile);
props.putAll(extraProps);
storeProperties(props, propFile, "Extra Props");
// Make the call.
GsaFeedConnection feeder = new GsaFeedConnection("", "fubar", 25, -1);
context.setConnectorManagerConfig(gsa.protocolAttribute, "shme",
gsa.portAttribute, gsa.securePortAttribute, feeder, null);
// Check the feed URL.
assertEquals(expectedProtocol, feeder.getFeedUrl().getProtocol());
assertEquals(expectedPort, feeder.getFeedUrl().getPort());
// Check for overwritten protocol and secure port properties.
Properties managerProps = context.getConnectorManagerConfig();
assertProperty(!Strings.isNullOrEmpty(gsa.protocolAttribute),
gsa.protocolAttribute, Context.GSA_FEED_PROTOCOL_PROPERTY_KEY,