Channel ch = (Channel) input.build(r);
}
public void testReadWrite() throws Exception {
Reader r = new StringReader(createFeed());
WireFeedInput input = new WireFeedInput();
Channel channel = (Channel) input.build(r);
StringWriter sw = new StringWriter();
WireFeedOutput output = new WireFeedOutput();
output.output(channel, sw);
sw.close();
r = new StringReader(sw.toString());
channel = (Channel) input.build(r);
sw = new StringWriter();
output.output(channel, sw);
sw.close();
System.out.println(sw);
}