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