Example #1
0
 /**
  * Tests the regexp for method names.
  *
  * @param string $methodName
  * @param bool $isValid
  * @dataProvider provideMethodNames
  */
 public function testIsMethodNameValid($methodName, $isValid)
 {
     $this->assertEquals(!empty($isValid), $this->application->isClassMethodNameValid($methodName));
 }