PHP Class spec\PHPSpec2\Matcher\ThrowMatcher

Inheritance: extends PHPSpec2\ObjectBehavior
Datei anzeigen Open project: phpspec/phpspec2

Public Methods

Method Description
it_can_specify_a_method_during_which_an_exception_should_be_throw ( Prophet $subject )
it_can_specify_a_method_during_which_an_exception_should_not_be_throw ( Prophet $subject )
it_supports_the_throw_alias_for_object_and_exception_name ( )
let ( PHPSpec2\Wrapper\ArgumentsUnwrapper $unwrapper, PHPSpec2\Formatter\Presenter\PresenterInterface $presenter )

Method Details

it_can_specify_a_method_during_which_an_exception_should_be_throw() public method

public it_can_specify_a_method_during_which_an_exception_should_be_throw ( Prophet $subject )
$subject Prophet mock of stdClass

it_can_specify_a_method_during_which_an_exception_should_not_be_throw() public method

public it_can_specify_a_method_during_which_an_exception_should_not_be_throw ( Prophet $subject )
$subject Prophet mock of stdClass

it_supports_the_throw_alias_for_object_and_exception_name() public method

let() public method

public let ( PHPSpec2\Wrapper\ArgumentsUnwrapper $unwrapper, PHPSpec2\Formatter\Presenter\PresenterInterface $presenter )
$unwrapper PHPSpec2\Wrapper\ArgumentsUnwrapper
$presenter PHPSpec2\Formatter\Presenter\PresenterInterface