Example #1
0
 /**
  * Test if the `getClassContext` method returns a class name with the method.
  */
 public function testGetParseContext()
 {
     $method = new ReflectionMethod(self::FIXTURE_NS . '\\ClassWithMethods', 'foo');
     $this->assertEquals(self::FIXTURE_NS . '\\ClassWithMethods::foo()', $method->getParseContext());
 }