function ObjectProphecySpec::let in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/spec/Prophecy/Prophecy/ObjectProphecySpec.php \spec\Prophecy\Prophecy\ObjectProphecySpec::let()
Parameters
\Prophecy\Doubler\LazyDouble $lazyDouble:
\Prophecy\Prophecy\ProphecySubjectInterface $double:
File
- vendor/
phpspec/ prophecy/ spec/ Prophecy/ Prophecy/ ObjectProphecySpec.php, line 14
Class
Namespace
spec\Prophecy\ProphecyCode
function let($lazyDouble, $double) {
$this
->beConstructedWith($lazyDouble);
$lazyDouble
->getInstance()
->willReturn($double);
}