spec\PhpSpec\Exception\ExceptionFactorySpec::it_creates_a_property_not_found_exception PHP Метод

it_creates_a_property_not_found_exception() публичный Метод

public it_creates_a_property_not_found_exception ( PhpSpec\Formatter\Presenter\Presenter $presenter )
$presenter PhpSpec\Formatter\Presenter\Presenter
    function it_creates_a_property_not_found_exception(Presenter $presenter)
    {
        $presenter->presentString("{$this->fixture->property}")->shouldBeCalled()->willReturn("\"{$this->fixture->property}\"");
        $this->fixture->message = 'Property "zoo" not found.';
        $this->createdException = $this->propertyNotFound($this->fixture->subject, $this->fixture->property);
        $this->shouldCreatePropertyNotFoundException();
    }