/** * Tests Sftp::setUp * * @expectedException \phpbu\App\Backup\Sync\Exception */ public function testSetUpPathWithRootSlash() { $sftp = new Sftp(); $sftp->setup(array('host' => 'example.com', 'user' => 'user.name', 'path' => '/foo')); }