示例#1
0
 public function testTableExists()
 {
     $tableName = 'table';
     $this->object->setTable($tableName, $tableName);
     $this->connection->expects($this->once())->method('isTableExists')->with($tableName)->will($this->returnValue(true));
     $this->assertTrue($this->object->tableExists($tableName));
 }