private function assertIndexIsLive(Index $index)
 {
     $indexes = $this->client->getSchemaIndexes();
     $this->assertThat($index, new SchemaContainsIndexConstraint($indexes));
 }