public function testGetReference() { $this->options->setFoo(['bar' => 'bar', 'baz' => 'baz']); $this->options->removeFooKey('bar'); self::assertSame(['baz' => 'baz'], $this->options->getFoo()); }
public function testCacheBypassedForDifferentOptions() { self::assertSame('foo', $this->connector->fetch('baz', $this->options)); $this->options->setFoo('bar'); self::assertSame('bar', $this->connector->fetch('baz', $this->options)); }