You are here

function ClassNodeSpec::its_parentClass_is_set_to_stdClass_if_user_set_null in Zircon Profile 8

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

File

vendor/phpspec/prophecy/spec/Prophecy/Doubler/Generator/Node/ClassNodeSpec.php, line 20

Class

ClassNodeSpec

Namespace

spec\Prophecy\Doubler\Generator\Node

Code

function its_parentClass_is_set_to_stdClass_if_user_set_null() {
  $this
    ->setParentClass(null);
  $this
    ->getParentClass()
    ->shouldReturn('stdClass');
}