You are here

function MethodNodeSpec::its_code_is_mutable in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpspec/prophecy/spec/Prophecy/Doubler/Generator/Node/MethodNodeSpec.php \spec\Prophecy\Doubler\Generator\Node\MethodNodeSpec::its_code_is_mutable()

File

vendor/phpspec/prophecy/spec/Prophecy/Doubler/Generator/Node/MethodNodeSpec.php, line 82

Class

MethodNodeSpec

Namespace

spec\Prophecy\Doubler\Generator\Node

Code

function its_code_is_mutable() {
  $this
    ->setCode('echo "code";');
  $this
    ->getCode()
    ->shouldReturn('echo "code";');
}