/** * @dataProvider provider */ public function testConstruction(Scope $scope, $expectedIsDefined, $expectedToString) { $this->assertEquals($expectedToString, $scope->__toString()); $this->assertEquals($expectedIsDefined, $scope->isDefined()); $this->assertEquals(Scope::none()->getKey(), $scope->getKey()); }