public function testSetAndGetValue() { $registry = new Registry(); $registry->setValue('foo', 'bar'); $this->assertEquals('bar', $registry->getValue('foo')); }