public function testRegister() { $storage = $this->getStorageMock(); $registry = new StorageRegistry(array('some-type' => $storage)); $this->assertAttributeSame(array('some-type' => $storage), 'storageMap', $registry); }