@Override
    public Optional<SearchJob> load(final String id,
                                    final SearchUser searchUser) throws ForbiddenException {
        final SearchJob searchJob = cache.getIfPresent(id);
        if (searchJob == null) {
            return Optional.empty();
        } else if (searchJob.getOwner().equals(searchUser.username()) || searchUser.isAdmin()) {
            return Optional.of(searchJob);
        } else {
            throw new ForbiddenException(StringUtils.f("User %s cannot load search job %s that belongs to different user!", searchUser.username(), id));
        }
    }
@Test
    public void testReturnsEmptyOptionalWhenTryingToLoadNonExistingJob() {
        final Optional<SearchJob> retrievedJob = toTest.load("Guadalajara!", null);
        Assertions.assertThat(retrievedJob)
                .isEmpty();
    }