%PDF- %PDF-
Direktori : /var/www/html/rental/vendor/phpspec/phpspec/spec/PhpSpec/Process/ReRunner/ |
Current File : /var/www/html/rental/vendor/phpspec/phpspec/spec/PhpSpec/Process/ReRunner/ProcOpenReRunnerSpec.php |
<?php /* * This file is part of PhpSpec, A php toolset to drive emergent * design by specification. * * (c) Marcello Duarte <marcello.duarte@gmail.com> * (c) Konstantin Kudryashov <ever.zet@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace spec\PhpSpec\Process\ReRunner; use PhpSpec\ObjectBehavior; use PhpSpec\Process\Context\ExecutionContextInterface; use Prophecy\Argument; use Symfony\Component\Process\PhpExecutableFinder; class ProcOpenReRunnerSpec extends ObjectBehavior { function let(PhpExecutableFinder $executableFinder, ExecutionContextInterface $executionContext) { $this->beConstructedThrough('withExecutionContext', array($executableFinder, $executionContext)); } function it_is_a_rerunner() { $this->shouldHaveType('PhpSpec\Process\ReRunner'); } function it_is_not_supported_when_php_process_is_not_found(PhpExecutableFinder $executableFinder) { $executableFinder->find()->willReturn(false); $this->isSupported()->shouldReturn(false); } }