1
0
Fork 0
composer/tests/Composer/Test/Repository/Vcs/GitLabDriverTest.php

41 lines
1.1 KiB
PHP
Raw Normal View History

<?php
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Composer\Test\Repository\Vcs;
use Composer\Downloader\TransportException;
use Composer\Repository\Vcs\GitLabDriver;
use Composer\Util\Filesystem;
use Composer\Config;
class GitLabDriverTest extends \PHPUnit_Framework_TestCase
{
public function setUp()
{
$this->config = new Config;
$this->io = $this->getMock('Composer\IO\IOInterface');
$this->process = $this->getMock('Composer\Util\ProcessExecutor');
}
public function testInterfaceIsComplete()
{
$remoteFilesystem = $this->getMockBuilder('Composer\Util\RemoteFilesystem')
->setConstructorArgs(array($this->io))
->getMock();
$driver = new GitLabDriver(array('url' => 'http://google.com'), $this->io, $this->config, $this->process, $remoteFilesystem);
}
}