/** * @return void * @covers \pdepend\reflection\api\StaticReflectionMethod * @group reflection * @group reflection::api * @group unittest */ public function testInitStaticVariablesStripsLeadingDollarCharacter() { $method = new StaticReflectionMethod('foo', '', 0); $method->initStaticVariables(array('$foo' => 42, '$bar' => 23)); $this->assertSame(array('foo' => 42, 'bar' => 23), $method->getStaticVariables()); }