You are here

function MethodProphecySpec::it_contains_ArgumentsWildcard_it_was_constructed_with in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpspec/prophecy/spec/Prophecy/Prophecy/MethodProphecySpec.php \spec\Prophecy\Prophecy\MethodProphecySpec::it_contains_ArgumentsWildcard_it_was_constructed_with()

Parameters

\Prophecy\Argument\ArgumentsWildcard $wildcard:

File

vendor/phpspec/prophecy/spec/Prophecy/Prophecy/MethodProphecySpec.php, line 354

Class

MethodProphecySpec

Namespace

spec\Prophecy\Prophecy

Code

function it_contains_ArgumentsWildcard_it_was_constructed_with($objectProphecy, $wildcard) {
  $this
    ->beConstructedWith($objectProphecy, 'getName', $wildcard);
  $this
    ->getArgumentsWildcard()
    ->shouldReturn($wildcard);
}