/** * @dataProvider invalidRules * @expectedException InvalidArgumentException */ public function testExpandRulesInvalid($rules) { Form::expandRulesArray($rules); }