spec\Prophecy\Prophecy\MethodProphecySpec::its_withArguments_throws_exception_if_wrong_arguments_provided PHP Method

its_withArguments_throws_exception_if_wrong_arguments_provided() public method

    function its_withArguments_throws_exception_if_wrong_arguments_provided()
    {
        $this->shouldThrow('Prophecy\\Exception\\InvalidArgumentException')->duringWithArguments(42);
    }
MethodProphecySpec