spec\Prophecy\Argument\Token\ExactValueTokenSpec::it_generates_proper_string_representation_for_object PHP Метод

it_generates_proper_string_representation_for_object() публичный Метод

public it_generates_proper_string_representation_for_object ( stdClass $object )
$object stdClass
    function it_generates_proper_string_representation_for_object(\stdClass $object)
    {
        $objHash = sprintf('%s:%s', get_class($object->getWrappedObject()), spl_object_hash($object->getWrappedObject()));
        $this->beConstructedWith($object);
        $this->__toString()->shouldReturn("exact({$objHash} Object (\n    'objectProphecy' => Prophecy\\Prophecy\\ObjectProphecy Object (*Prophecy*)\n))");
    }