for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the GitElephant package.
*
* (c) Matteo Giachino <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
* Just for fun...
*/
namespace GitElephant;
* GitBinary Test
* @author Matteo Giachino <[email protected]>
class GitBinaryTest extends TestCase
{
protected $path = '/path/to/binary';
public function testConstructor()
$binary = new GitBinary($this->path);
$this->assertEquals($this->path, $binary->getPath());
}
public function testGetVersion()
$this->assertInternalType('string', $binary->getVersion());