示例#1
0
 public function testGetOptions()
 {
     $optObj = new ezcConsoleTableOptions(array(1, 2, 3), ezcConsoleTable::WRAP_CUT, ezcConsoleTable::ALIGN_CENTER, ':', ezcConsoleTable::WIDTH_FIXED, ':', '-', 'o', 'test', 'test2');
     $table = new ezcConsoleTable($this->output, 80, $optObj);
     $this->assertSame($optObj, $table->getOptions());
 }