@Test
public void testResolveOriginFound() {

  OriginEntity entity = new OriginEntity()
          .setId(UUID.randomUUID())
          .setName("name");
  when(originManager.getOrigin(isA(UUID.class))).thenReturn(entity);
  OriginInfoSEB seb = resolver.apply(entity.getId());
  assertNotNull(seb);
  assertEquals(entity.getId(), seb.getId());
  assertEquals(entity.getName(), seb.getName());
  verify(originManager).getOrigin(entity.getId());
}