/** * @expectedException \RuntimeException */ public function testCannotPushBadOptions() { $errs = OptionsChecker::checkOptions('not array', ['test']); }