Configuration conf = NutchConfiguration.create();
urlString = "file:" + sampleDir + fileSeparator + id3v1;
protocol = new ProtocolFactory(conf).getProtocol(urlString);
content = protocol.getProtocolOutput(new Text(urlString), new CrawlDatum())
.getContent();
parse = new ParseUtil(conf).parseByExtensionId("parse-mp3", content).get(urlString);
Metadata metadata = parse.getData().getParseMeta();
assertEquals("postgresql comment id3v1", metadata.get("COMM-Text"));
assertEquals("postgresql artist id3v1", metadata.get("TPE1-Text"));
assertEquals("(28)", metadata.get("TCON-Text"));