/**
  * Removes a Schema Index.
  *
  * @param \Neoxygen\NeoClient\Schema\Index $index
  * @param string|null                      $conn
  */
 public function dropSchemaIndex(Index $index, $conn = null)
 {
     $statement = 'DROP INDEX ON :' . $index->getLabel() . '(' . $index->getProperty() . ')';
     $this->sendCypherQuery($statement, array(), $conn, self::WRITE_QUERY);
 }
 /**
  * @group unit
  * @group schema
  */
 public function testIndexIsCreatedWithLabelAndName()
 {
     $index = new Index("User", "id");
     $this->assertEquals("User", $index->getLabel());
     $this->assertEquals("id", $index->getProperty());
 }