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

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

    function shouldCreateNamedConstructorNotFoundException()
    {
        $this->createdException->shouldHaveType('PhpSpec\\Exception\\Fracture\\NamedConstructorNotFoundException');
        $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);
    }