/** * @expectedException RuntimeException */ public function testInvalidMetas() { $page = new SeoPage(); $page->setMetas(array('type' => 'not an array')); }