public function iShouldSeeColumnsInTheTable($count, $table) { $columnsSelector = "{$table} thead tr th"; $columns = $this->getSession()->getPage()->findAll('css', $columnsSelector); $this->assertEquals($count, count($columns)); }