spec\PhpSpec\Runner\Maintainer\MatchersMaintainerSpec::it_should_add_default_matchers_to_the_matcher_manager PHP Method

it_should_add_default_matchers_to_the_matcher_manager() public method

public it_should_add_default_matchers_to_the_matcher_manager ( PhpSpec\Formatter\Presenter\Presenter $presenter, ExampleNode $example, PhpSpec\Specification $context, MatcherManager $matchers, CollaboratorManager $collaborators, PhpSpec\Matcher\Matcher $matcher )
$presenter PhpSpec\Formatter\Presenter\Presenter
$example PhpSpec\Loader\Node\ExampleNode
$context PhpSpec\Specification
$matchers PhpSpec\Runner\MatcherManager
$collaborators PhpSpec\Runner\CollaboratorManager
$matcher PhpSpec\Matcher\Matcher
    function it_should_add_default_matchers_to_the_matcher_manager(Presenter $presenter, ExampleNode $example, Specification $context, MatcherManager $matchers, CollaboratorManager $collaborators, Matcher $matcher)
    {
        $this->beConstructedWith($presenter, array($matcher));
        $this->prepare($example, $context, $matchers, $collaborators);
        $matchers->replace(array($matcher))->shouldHaveBeenCalled();
    }