function ArgumentsWildcardSpec::it_wraps_non_token_arguments_into_ExactValueToken in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/spec/Prophecy/Argument/ArgumentsWildcardSpec.php \spec\Prophecy\Argument\ArgumentsWildcardSpec::it_wraps_non_token_arguments_into_ExactValueToken()
Parameters
\stdClass $object:
File
- vendor/
phpspec/ prophecy/ spec/ Prophecy/ Argument/ ArgumentsWildcardSpec.php, line 13
Class
Namespace
spec\Prophecy\ArgumentCode
function it_wraps_non_token_arguments_into_ExactValueToken($object) {
$this
->beConstructedWith(array(
42,
'zet',
$object,
));
$class = get_class($object
->getWrappedObject());
$hash = spl_object_hash($object
->getWrappedObject());
$this
->__toString()
->shouldReturn("exact(42), exact(\"zet\"), exact({$class}:{$hash} Object (\n 'objectProphecy' => Prophecy\\Prophecy\\ObjectProphecy Object (*Prophecy*)\n))");
}