public function testScopeIsSingleton() { $scope = Scopes::instance(); $otherScope = Scopes::instance(); $this->assertSame($scope, $otherScope); }
public function __construct($interface) { $this->interface = $interface; $this->scope = Scopes::instance(); }