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

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

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