@Test
public void testResolveFactFound() {

  FactEntity entity = new FactEntity()
          .setId(UUID.randomUUID())
          .setTypeID(UUID.randomUUID())
          .setValue("value");
  when(factManager.getFact(any())).thenReturn(entity);
  when(typeResolver.apply(any())).thenReturn(FactTypeInfoSEB.builder().build());
  FactInfoSEB seb = resolver.apply(entity.getId());
  assertNotNull(seb);
  assertEquals(entity.getId(), seb.getId());
  assertNotNull(seb.getType());
  assertEquals(entity.getValue(), seb.getValue());
  verify(factManager).getFact(entity.getId());
  verify(typeResolver).apply(entity.getTypeID());
}