@Test
public void testCorruptedFileInstall() throws Exception {

  File file = new File(AclScannerTest.class.getResource("/xacml_errors.xml").toURI());
  try {
    aclScanner.install(file);
    fail("Should not be parsed.");
  } catch (XACMLParsingException e) {
    assertTrue("The file can not be parsed.", e.getCause() instanceof UnmarshalException);
  }
}