// ensure that all data loaded by elastic search
static::assertTrue($listing->hasState(ElasticsearchEntitySearcher::RESULT_STATE)); static::assertTrue($listing->getAggregations()->hasState(ElasticsearchEntityAggregator::RESULT_STATE));
thrownewInvalidArgumentException(sprintf('"%s()" expects being initialized with a Redis, Relay, RedisArray, RedisCluster or Predis\ClientInterface, "%s" given.', __METHOD__, get_debug_type($this->redis))); }