public function testSingleScope() { $memArray = new Matryoshka\Ephemeral(); $scope = new Matryoshka\Scope($memArray, 'scope'); $multiScope = new Matryoshka\MultiScope($memArray, [$scope]); // The MultiScope key should be the same as the sole scope that it // contains. $this->assertSame($scope->changeKey('key'), $multiScope->changeKey('key')); }