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

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

    function shouldCreateMethodNotFoundException()
    {
        $this->createdException->shouldHaveType('PhpSpec\\Exception\\Fracture\\MethodNotFoundException');
        $this->createdException->getMessage()->shouldReturn($this->fixture->message);
        $this->createdException->getSubject()->shouldBeLike($this->fixture->subject);
        $this->createdException->getMethodName()->shouldReturn($this->fixture->method);
        $this->createdException->getArguments()->shouldReturn($this->fixture->arguments);
    }