public void testCompressionCodec() throws Exception {
Abdera abdera = new Abdera();
Entry entry = abdera.newEntry();
ByteArrayOutputStream out = new ByteArrayOutputStream();
OutputStream cout = CompressionUtil.getEncodedOutputStream(out, CompressionCodec.GZIP);
entry.writeTo(cout);
cout.close();
byte[] bytes = out.toByteArray();
ByteArrayInputStream in = new ByteArrayInputStream(bytes);
Parser parser = abdera.getParser();
ParserOptions options = parser.getDefaultParserOptions();