/** * @expectedException \InvalidArgumentException */ public function testValidateBooleanParamInvalid() { $result = SquirtUtil::validateBooleanParam('flag', array('flag' => null)); $this->fail('Should not get here'); }