protected function setUp() { $this->client = new Client($this->getClientConfig()); $configuration = new TestConfiguration(new TestDataProvider()); $this->elasticaManager = new ElasticaManager($this->client); $this->elasticaManager->addConfiguration($configuration); $this->indexManager = $this->elasticaManager->getIndexManager(TestConfiguration::NAME); }