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