@Test
public void testResolveFactTypeById() throws Exception {

  UUID type = UUID.randomUUID();
  FactTypeEntity entity = new FactTypeEntity();
  when(factManager.getFactType(type)).thenReturn(entity);
  assertSame(entity, resolver.resolveFactType(type.toString()));
  verify(factManager).getFactType(type);
  verifyNoMoreInteractions(factManager);
}