ChannelIF chA = builder.createChannel("myChannel");
assertEquals("myChannel", chA.getTitle());
}
public void testCreateItem() throws MalformedURLException {
ChannelBuilderIF builder = new ChannelBuilder();
ChannelIF chA = builder.createChannel("myChannel");
ItemIF itA = builder.createItem(chA, "first item", "descr of item",
new URL("http://sf.net/projects/informa"));
itA.setCreator("TestChannelBuilder");
assertEquals("first item", itA.getTitle());
itA = null;
// test retrieval