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