@Test
public void testCorrectFileInstall() throws Exception {

  File file = new File(AclScannerTest.class.getResource("/xacml_correct.xml").toURI());
  ManagedAcl acl = new ManagedAclImpl(1L, "TestAcl", "org", new AccessControlList());
  Option<ManagedAcl> managedAcl = Option.some(acl);
  EasyMock.expect(aclDb.createAcl(anyObject(Organization.class), anyObject(AccessControlList.class), anyString()))
          .andReturn(managedAcl).times(3);
  EasyMock.expect(aclDb.getAcls(anyObject(Organization.class))).andReturn(new ArrayList<ManagedAcl>()).times(3);
  EasyMock.replay(aclDb);
  aclScanner.install(file);
  EasyMock.verify(aclDb);
}