public function toString() { $from = new From($this->tableName); return sprintf('DELETE %s', $from->toString()); }
/** * @dataProvider providerTestEmptyTableName * @expectedException \InvalidArgumentException */ public function testEmptyTableName($tableName) { $qb = new Snippets\From($tableName); $qb->toString($tableName); }