Наследование: extends ScriptFUSION\Porter\Options\EncapsulatedOptions
 public function testGetReference()
 {
     $this->options->setFoo(['bar' => 'bar', 'baz' => 'baz']);
     $this->options->removeFooKey('bar');
     self::assertSame(['baz' => 'baz'], $this->options->getFoo());
 }
Пример #2
0
 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));
 }