/**
  * @expectedException \ActiveCollab\DatabaseConnection\Exception\QueryException
  * @expectedExceptionMessage Can't DROP 'index that does not exist'; check that column/key exists
  */
 public function testUnsafeDropNonExistingIndex()
 {
     $this->assertCount(2, $this->connection->getIndexNames('writers'));
     $this->connection->dropIndex('writers', 'index that does not exist', false);
     $this->assertCount(2, $this->connection->getIndexNames('writers'));
 }