public function setUp() { $this->filesystem = $this->getMock('League\\Flysystem\\FilesystemInterface'); $this->handler = new Flysystem($this->filesystem); }