PHP Class PHPSpec2\Matcher\ThrowMatcher

Inheritance: implements PHPSpec2\Matcher\MatcherInterface
Show file Open project: phpspec/phpspec2

Public Methods

Method Description
__construct ( ArgumentsUnwrapper $unwrapper, PHPSpec2\Formatter\Presenter\PresenterInterface $presenter )
getPriority ( )
negativeMatch ( $name, $subject, array $arguments )
positiveMatch ( $name, $subject, array $arguments )
supports ( $name, $subject, array $arguments )
verifyNegative ( $callable, array $arguments, $class = null, $message = null )
verifyPositive ( $callable, array $arguments, $class = null, $message = null )

Private Methods

Method Description
getExceptionInformation ( array $arguments )
getLooper ( $check, $subject, array $arguments )

Method Details

__construct() public method

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

getPriority() public method

public getPriority ( )

negativeMatch() public method

public negativeMatch ( $name, $subject, array $arguments )
$arguments array

positiveMatch() public method

public positiveMatch ( $name, $subject, array $arguments )
$arguments array

supports() public method

public supports ( $name, $subject, array $arguments )
$arguments array

verifyNegative() public method

public verifyNegative ( $callable, array $arguments, $class = null, $message = null )
$arguments array

verifyPositive() public method

public verifyPositive ( $callable, array $arguments, $class = null, $message = null )
$arguments array