@Test
public void testResolveAccessModeFallsBackToReferencedFact() throws Exception {

  FactRecord referencedFact = new FactRecord().setAccessMode(FactRecord.AccessMode.Public);
  assertEquals(referencedFact.getAccessMode(), handler.resolveAccessMode(referencedFact, null));
}