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)); }
public function testTableExists() { $this->assertTrue($this->_model->tableExists('store_website')); $this->assertFalse($this->_model->tableExists('core/website')); }
public function isExists($tableName) { return $this->installer->tableExists($this->getFullName($tableName)); }