public function testReplicate() { $local = new Local('/tmp'); // check if OS is Mac OS X where /tmp is a symlink to /private/tmp $result = php_uname('s') == 'Darwin' ? '/private/tmp' : '/tmp'; $this->assertSame($result, $local->getDirectory()); }
public function testReplicate() { $local = new Local('/tmp'); $this->assertEquals('/tmp', $local->getDirectory()); }