@Test
public void testWithAclSkipsExistingEntry() {

  UUID subjectID = UUID.randomUUID();
  FactRecord fact = new FactRecord().addAclEntry(new FactAclEntryRecord().setSubjectID(subjectID));
  fact = withAcl(fact, UUID.randomUUID(), list(subjectID));
  assertEquals(1, fact.getAcl().size());
}