@Test
public void testCompileFileClayCss() throws Exception {

	SassCompiler sassCompiler = new JniSassCompiler();
	Class<?> clazz = getClass();
	URL url = clazz.getResource("dependencies/clay-css");
	File clayCssDir = new File(url.toURI());
	for (File inputFile : clayCssDir.listFiles()) {
		if (inputFile.isDirectory()) {
			continue;
		}
		String fileName = inputFile.getName();
		if (fileName.startsWith("_") || !fileName.endsWith("scss")) {
			continue;
		}
		String actualOutput = sassCompiler.compileFile(
			inputFile.getCanonicalPath(), "", true);
		Assert.assertNotNull("Testing: " + fileName, actualOutput);
		String expectedOutputFileName =
			"expected" + File.separator + fileName.replace("scss", "css");
		File expectedOutputFile = new File(
			clayCssDir, expectedOutputFileName);
		if (expectedOutputFile.exists()) {
			String expectedOutput = read(expectedOutputFile.toPath());
			Assert.assertEquals(
				"Testing: " + fileName, stripNewLines(expectedOutput),
				stripNewLines(actualOutput));
		}
	}
}