Exemplo n.º 1
0
 public function testExists()
 {
     $table = new CachedTable($this->schema, 'newTable');
     $this->assertFalse($table->exists());
     $createdTable = CachedTable::create($this->schema, 'blah', self::$columns);
     $this->assertTrue($createdTable->exists());
     $tempTable = TempTable::create($this->schema, 'blah2', self::$columns);
     $this->assertTrue($tempTable->exists());
 }