PHP Class spec\PhpSpec\Wrapper\Subject\Expectation\DispatcherDecoratorSpec

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

Public Methods

Method Description
it_decorates_expectation_with_broken_event ( PhpSpec\Wrapper\Subject\Expectation\Expectation $expectation, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher )
it_decorates_expectation_with_failed_event ( PhpSpec\Wrapper\Subject\Expectation\Expectation $expectation, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher )
it_dispatches_before_and_after_events ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher )
it_implements_the_interface_of_the_decorated ( )
let ( PhpSpec\Wrapper\Subject\Expectation\Expectation $expectation, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, PhpSpec\Matcher\Matcher $matcher, ExampleNode $example )

Method Details

it_decorates_expectation_with_broken_event() public method

public it_decorates_expectation_with_broken_event ( PhpSpec\Wrapper\Subject\Expectation\Expectation $expectation, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher )
$expectation PhpSpec\Wrapper\Subject\Expectation\Expectation
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface

it_decorates_expectation_with_failed_event() public method

public it_decorates_expectation_with_failed_event ( PhpSpec\Wrapper\Subject\Expectation\Expectation $expectation, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher )
$expectation PhpSpec\Wrapper\Subject\Expectation\Expectation
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface

it_dispatches_before_and_after_events() public method

public it_dispatches_before_and_after_events ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher )
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface

it_implements_the_interface_of_the_decorated() public method

let() public method

public let ( PhpSpec\Wrapper\Subject\Expectation\Expectation $expectation, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, PhpSpec\Matcher\Matcher $matcher, ExampleNode $example )
$expectation PhpSpec\Wrapper\Subject\Expectation\Expectation
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$matcher PhpSpec\Matcher\Matcher
$example PhpSpec\Loader\Node\ExampleNode