예제 #1
0
 /**
  * @dataProvider dataGetTableName
  *
  * @param string $tableName
  * @param bool $automatic
  * @param string $expected
  */
 public function testGetTableName($tableName, $automatic, $expected)
 {
     if ($automatic !== null) {
         $this->queryBuilder->automaticTablePrefix($automatic);
     }
     $this->assertSame($expected, $this->queryBuilder->getTableName($tableName));
 }