public function testRightExtraColumn() { $select = $this->db->select()->from('unit'); $this->grid->setSource(new Bvb_Grid_Source_Zend_Select($select)); $right = new Bvb_Grid_Extra_Column(); $right->title('Right')->decorator('test')->name('test')->position('right'); $this->grid->addExtraColumns($right); $grid = $this->grid->deploy(); $this->controller->getResponse()->setBody($grid); $this->assertQueryContentContains("/div/table/tr[2]/th[16]", 'Right'); }