@Test
public void testResolveTypeFound() {

  ObjectTypeEntity entity = new ObjectTypeEntity()
          .setId(UUID.randomUUID())
          .setName("name");
  when(objectManager.getObjectType(isA(UUID.class))).thenReturn(entity);
  ObjectTypeInfoSEB seb = resolver.apply(entity.getId());
  assertNotNull(seb);
  assertEquals(entity.getId(), seb.getId());
  assertEquals(entity.getName(), seb.getName());
  verify(objectManager).getObjectType(entity.getId());
}