public function getFilesystem() { if (!isset($this->fs)) { $this->fs = new Filesystem(); } return $this->fs; }
public function testSetFilesystem() { $fs = new Filesystem(); $this->store->setFilesystem($fs); $this->assertSame($fs, $this->store->getFilesystem()); }