@Test
public void testFetchFactType() throws Exception {

  UUID id = UUID.randomUUID();
  FactTypeEntity entity = new FactTypeEntity();
  when(factManager.getFactType(id)).thenReturn(entity);
  assertSame(entity, resolver.fetchExistingFactType(id));
}