}
public void testWhiteListParseFilter() throws Exception {
ParseFilter filter = new WhiteListParseFilter();
filter.add(Constants.FEED);
filter.add(Constants.ENTRY);
filter.add(Constants.TITLE);
filter.add(Constants.ID);
ParserOptions options = Parser.INSTANCE.getDefaultParserOptions();
options.setParseFilter(filter);
URL url = FOMTest.class.getResource("/simple.xml");
InputStream in = url.openStream();