示例#1
0
 public function testGetSetCounts()
 {
     $newRowCount = new Extension\RowCount();
     $newRowCount->setText("20");
     $newColCount = new Extension\ColCount();
     $newColCount->setText("50");
     $this->cellFeed->setRowCount($newRowCount);
     $this->cellFeed->setColumnCount($newColCount);
     $this->assertTrue($this->cellFeed->getRowCount()->getText() == "20");
     $this->assertTrue($this->cellFeed->getColumnCount()->getText() == "50");
 }