/** * @expectedException \InvalidArgumentException * @expectedExceptionMessage The local connector requires path configuration. */ public function testConnectWithoutPath() { $connector = new LocalConnector(); $connector->connect([]); }
/** * Setup the environment. */ public function setUp() { $this->root = __DIR__ . '/stubs/'; $connector = new LocalConnector(); $this->adapter = new FilesystemAdapter($connector->connect(['path' => $this->root])); }