public function testGetRegistry() { $config = ['foo' => 'foo', 'bar' => 'bar', 'baz' => 'baz']; $locator = new Services(); $locator->add($config); $this->assertSame($config, $locator->getRegistry()); }