spec\Prophecy\Doubler\ClassPatch\SplFileInfoPatchSpec::it_does_not_support_nodes_without_parent_class PHP Метод

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

public it_does_not_support_nodes_without_parent_class ( Prophecy\Doubler\Generator\Node\ClassNode $node )
$node Prophecy\Doubler\Generator\Node\ClassNode
    function it_does_not_support_nodes_without_parent_class(ClassNode $node)
    {
        $node->getParentClass()->willReturn('stdClass');
        $this->supports($node)->shouldReturn(false);
    }