public function testDropIndex() { $blueprint = new Blueprint('users'); $blueprint->dropIndex('foo'); $statements = $blueprint->toSql($this->getConnection(), $this->getGrammar()); $this->assertEquals(1, count($statements)); $this->assertEquals('drop index foo on "users"', $statements[0]); }