public function testRsyncWithInfo() { $rsync = new Rsync(); $rsync->setInfo('all0'); $expected = "/usr/bin/rsync -La --info 'all0' /origin /target"; $actual = $rsync->getCommand('/origin', '/target')->getCommand(); $this->assertEquals($expected, $actual); }