public function testDropTableWithPrefix() { $blueprint = new Blueprint('users'); $blueprint->setTablePrefix('prefix_'); $blueprint->drop(); $grammar = $this->getGrammar(); $grammar->setTablePrefix('prefix_'); $statements = $blueprint->toSql($this->getConnection(), $grammar); $this->assertEquals(1, count($statements)); $this->assertEquals('drop table prefix_users', $statements[0]); }