@Test(expected = AccessDeniedException.class)
public void testCheckReadPermissionForFactRecordWithAccessModeExplicitNoAccess() throws Exception {

  FactRecord fact = new FactRecord()
          .setId(UUID.randomUUID())
          .setAccessMode(FactRecord.AccessMode.Explicit);
  context.checkReadPermission(fact);
}