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

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

public it_creates_a_method_not_found_exception ( PhpSpec\Formatter\Presenter\Presenter $presenter )
$presenter PhpSpec\Formatter\Presenter\Presenter
    function it_creates_a_method_not_found_exception(Presenter $presenter)
    {
        $presenter->presentString("{$this->fixture->classname}::{$this->fixture->method}")->shouldBeCalled()->willReturn("\"{$this->fixture->classname}::{$this->fixture->method}\"");
        $this->fixture->message = 'Method "\\stdClass::foo" not found.';
        $this->createdException = $this->methodNotFound($this->fixture->classname, $this->fixture->method, $this->fixture->arguments);
        $this->shouldCreateMethodNotFoundException();
    }