}
public void testConsumeSplitFeed() throws Exception
{
LocalMuleClient client = muleContext.getClient();
FeedReceiver component = (FeedReceiver)getComponent("feedConsumer");
component.getReceivedEntries().set(0); //reset since the build reports that it's getting incremented someplace else
String feed = loadResourceAsString("sample-feed.atom");
client.dispatch("jms://feed.split.in", feed, null);
Thread.sleep(5000);
assertEquals(25, component.getCount());
}