|
|
@ -31,6 +31,11 @@ class ApplicationTest extends TestCase
|
|
|
|
->with($this->equalTo('--no-plugins'))
|
|
|
|
->with($this->equalTo('--no-plugins'))
|
|
|
|
->will($this->returnValue(true));
|
|
|
|
->will($this->returnValue(true));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$inputMock->expects($this->at($index++))
|
|
|
|
|
|
|
|
->method('hasParameterOption')
|
|
|
|
|
|
|
|
->with($this->equalTo('--no-cache'))
|
|
|
|
|
|
|
|
->will($this->returnValue(false));
|
|
|
|
|
|
|
|
|
|
|
|
$inputMock->expects($this->at($index++))
|
|
|
|
$inputMock->expects($this->at($index++))
|
|
|
|
->method('getParameterOption')
|
|
|
|
->method('getParameterOption')
|
|
|
|
->with($this->equalTo(array('--working-dir', '-d')))
|
|
|
|
->with($this->equalTo(array('--working-dir', '-d')))
|
|
|
@ -84,6 +89,11 @@ class ApplicationTest extends TestCase
|
|
|
|
->with($this->equalTo('--no-plugins'))
|
|
|
|
->with($this->equalTo('--no-plugins'))
|
|
|
|
->will($this->returnValue(true));
|
|
|
|
->will($this->returnValue(true));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$inputMock->expects($this->at($index++))
|
|
|
|
|
|
|
|
->method('hasParameterOption')
|
|
|
|
|
|
|
|
->with($this->equalTo('--no-cache'))
|
|
|
|
|
|
|
|
->will($this->returnValue(false));
|
|
|
|
|
|
|
|
|
|
|
|
$inputMock->expects($this->at($index++))
|
|
|
|
$inputMock->expects($this->at($index++))
|
|
|
|
->method('getParameterOption')
|
|
|
|
->method('getParameterOption')
|
|
|
|
->with($this->equalTo(array('--working-dir', '-d')))
|
|
|
|
->with($this->equalTo(array('--working-dir', '-d')))
|
|
|
|