@Test
public void testGetFactTypeIdsBasedOnNames() {

  UUID uuid1 = UUID.randomUUID();
  UUID uuid2 = UUID.randomUUID();
  when(factManager.getFactType("test1")).thenReturn(new FactTypeEntity().setId(uuid1));
  when(factManager.getFactType("test2")).thenReturn(new FactTypeEntity().setId(uuid2));
  assertEquals(SetUtils.set(uuid1, uuid2), resolver.factTypeNamesToIds(SetUtils.set("test1", "test2")));
}