+ "exclude:\n" + "- code/code2.js\n" + "- test/test2.js";
ByteArrayInputStream bais = new ByteArrayInputStream(configFile.getBytes());
ConfigurationParser parser = new YamlParser();
Configuration config = parser.parse(new InputStreamReader(bais), null)
.resolvePaths(new PathResolver(tmpDirs, Collections.<FileParsePostProcessor> emptySet(), new DisplayPathSanitizer()), createFlags());
Set<FileInfo> files = config.getFilesList();
List<FileInfo> listFiles = new ArrayList<FileInfo>(files);
assertEquals(3, files.size());
assertTrue(listFiles.get(0).getFilePath().replace(File.separatorChar, '/').endsWith("code/code.js"));