@Test
public void testGetFactTypeIdBasedOnName() {

  UUID uuid = UUID.randomUUID();
  when(factManager.getFactType("test")).thenReturn(new FactTypeEntity().setId(uuid));
  assertEquals(uuid, resolver.factTypeNameToId("test"));
}