%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/car_rent/vendor/phpspec/phpspec/spec/PhpSpec/Config/
Upload File :
Create Path :
Current File : /var/www/html/car_rent/vendor/phpspec/phpspec/spec/PhpSpec/Config/OptionsConfigSpec.php

<?php

namespace spec\PhpSpec\Config;

use PhpSpec\ObjectBehavior;
use Prophecy\Argument;

class OptionsConfigSpec extends ObjectBehavior
{
    function it_says_rerun_is_enabled_when_setting_is_true()
    {
        $this->beConstructedWith(false, false, true, false, false);

        $this->isReRunEnabled()->shouldReturn(true);
    }

    function it_says_rerun_is_not_enabled_when_setting_is_false()
    {
        $this->beConstructedWith(false, false, false, false, false);

        $this->isReRunEnabled()->shouldReturn(false);
    }

    function it_says_faking_is_enabled_when_setting_is_true()
    {
        $this->beConstructedWith(false, false, false, true, false);

        $this->isFakingEnabled()->shouldReturn(true);
    }

    function it_says_faking_is_not_enabled_when_setting_is_false()
    {
        $this->beConstructedWith(false, false, false, false, false);

        $this->isFakingEnabled()->shouldReturn(false);
    }

    function it_says_bootstrap_path_is_false_when_setting_is_false()
    {
        $this->beConstructedWith(false, false, false, false, false);

        $this->getBootstrapPath()->shouldReturn(false);
    }

    function it_returns_bootstrap_path_when_one_is_specified()
    {
        $this->beConstructedWith(false, false, false, false, '/path/to/file');

        $this->getBootstrapPath()->shouldReturn('/path/to/file');
    }
}

Zerion Mini Shell 1.0