PHP Класс spec\PhpSpec\Matcher\ThrowMatcherSpec

Наследование: extends PhpSpec\ObjectBehavior
Показать файл Открыть проект

Открытые методы

Метод Описание
it_accepts_a_method_during_which_an_error_should_not_be_thrown ( ArrayObject $arr )
it_accepts_a_method_during_which_an_error_specified_by_class_name_should_be_thrown ( ArrayObject $arr )
it_accepts_a_method_during_which_an_error_specified_by_instance_should_be_thrown ( ArrayObject $arr, PhpSpec\Factory\ReflectionFactory $factory )
it_accepts_a_method_during_which_an_exception_should_be_thrown ( ArrayObject $arr )
it_accepts_a_method_during_which_an_exception_should_not_be_thrown ( ArrayObject $arr )
it_supports_the_throw_alias_for_object_and_exception_name ( )
it_throws_a_failure_exception_with_the_thrown_exceptions_message_if_a_positive_match_failed ( PhpSpec\Formatter\Presenter\Presenter $presenter )
let ( Unwrapper $unwrapper, PhpSpec\Formatter\Presenter\Presenter $presenter, PhpSpec\Factory\ReflectionFactory $factory )

Описание методов

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

public it_accepts_a_method_during_which_an_error_should_not_be_thrown ( ArrayObject $arr )
$arr ArrayObject

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

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

public it_accepts_a_method_during_which_an_error_specified_by_instance_should_be_thrown ( ArrayObject $arr, PhpSpec\Factory\ReflectionFactory $factory )
$arr ArrayObject
$factory PhpSpec\Factory\ReflectionFactory

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

public it_accepts_a_method_during_which_an_exception_should_be_thrown ( ArrayObject $arr )
$arr ArrayObject

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

public it_accepts_a_method_during_which_an_exception_should_not_be_thrown ( ArrayObject $arr )
$arr ArrayObject

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

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

public it_throws_a_failure_exception_with_the_thrown_exceptions_message_if_a_positive_match_failed ( PhpSpec\Formatter\Presenter\Presenter $presenter )
$presenter PhpSpec\Formatter\Presenter\Presenter

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

public let ( Unwrapper $unwrapper, PhpSpec\Formatter\Presenter\Presenter $presenter, PhpSpec\Factory\ReflectionFactory $factory )
$unwrapper PhpSpec\Wrapper\Unwrapper
$presenter PhpSpec\Formatter\Presenter\Presenter
$factory PhpSpec\Factory\ReflectionFactory