public function theColumnsSchemaShouldMatch($table, TableNode $text)
{
$columnsSelector = "{$table} thead tr th";
$columns = $this->getSession()->getPage()->findAll('css', $columnsSelector);
$this->iShouldSeeColumnsInTheTable(count($text->getHash()), $table);
foreach ($text->getHash() as $key => $column) {
$this->assertEquals($column['columns'], $columns[$key]->getText());
}
}