public function testMethodWorksWithScope() { $this->assertEvaluatesTo([$this, 'methodWithScopedStaticVariable'], true); $this->assertEvaluatesTo([$this, 'methodWithScopedStaticMethodCall'], true); }