* @throws MalformedURLException never.
*/
public void testFillDataFeedProperties()
throws MalformedURLException
{
DirectFeed dfeed = new DirectFeed();
dfeed.setBaseTitle("stat");
dfeed.setXmlURL(new URL("file://stat"));
// Set no update period
dfeed.setUpdatePeriod(-1);
DirectOPMLFeed ofeed = Converter.convertToOPML(dfeed);
assertNull(ofeed.getUpdatePeriod());
// Set update period
dfeed.setUpdatePeriod(1);
ofeed = Converter.convertToOPML(dfeed);
assertEquals(new Long(1), ofeed.getUpdatePeriod());
}