PHP Class spec\PhpSpec\Matcher\ThrowMatcherSpec

Inheritance: extends PhpSpec\ObjectBehavior
Datei anzeigen Open project: phpspec/phpspec

Public Methods

Method Description
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 )

Method Details

it_accepts_a_method_during_which_an_error_should_not_be_thrown() public method

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() public method

it_accepts_a_method_during_which_an_error_specified_by_instance_should_be_thrown() public method

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 method

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 method

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() public method

it_throws_a_failure_exception_with_the_thrown_exceptions_message_if_a_positive_match_failed() public method

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 method

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