public void testRemoteUrl() throws MalformedURLException
{
String base = System.getProperty("carrot2.xml.feed.url.base");
assumeTrue("carrot2.xml.feed.url.base property undefined.", !Strings.isNullOrEmpty(base));
IResource xml = new URLResourceWithParams(new URL(base + "&q=${query}&results=${results}"));
final String query = "apple computer";
processingAttributes.put(AttributeUtils.getKey(XmlDocumentSource.class, "xml"),
xml);
processingAttributes.put(AttributeNames.QUERY, query);