function MethodNodeSpec::it_is_constructable_with_code in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/spec/Prophecy/Doubler/Generator/Node/MethodNodeSpec.php \spec\Prophecy\Doubler\Generator\Node\MethodNodeSpec::it_is_constructable_with_code()
File
- vendor/
phpspec/ prophecy/ spec/ Prophecy/ Doubler/ Generator/ Node/ MethodNodeSpec.php, line 101
Class
Namespace
spec\Prophecy\Doubler\Generator\NodeCode
function it_is_constructable_with_code() {
$this
->beConstructedWith('getTitle', 'die();');
$this
->getCode()
->shouldReturn('die();');
}