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

  FactTypeEntity retraction = new FactTypeEntity().setId(RETRACTION_FACT_TYPE_ID);
  when(factManager.getFactType(retraction.getId())).thenReturn(retraction);
  resolver.resolveFactType(retraction.getId().toString());
}