/** * @testdox ignoreText() throws an exception if its argument is not a boolean * @expectedException InvalidArgumentException * @expectedExceptionMessage ignoreText() expects a boolean */ public function testIgnoreTextInvalid() { $ruleset = new Ruleset(); $ruleset->ignoreText('foo'); }