spec\Prophecy\Doubler\ClassPatch\MagicCallPatchSpec::it_ignores_empty_methods_from_phpdoc PHP Метод

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

public it_ignores_empty_methods_from_phpdoc ( Prophecy\Doubler\Generator\Node\ClassNode $node )
$node Prophecy\Doubler\Generator\Node\ClassNode
    function it_ignores_empty_methods_from_phpdoc(ClassNode $node)
    {
        $node->getParentClass()->willReturn('spec\\Prophecy\\Doubler\\ClassPatch\\MagicalApiInvalidMethodDefinition');
        $node->getInterfaces()->willReturn(array());
        $node->addMethod(new MethodNode(''))->shouldNotBeCalled();
        $this->apply($node);
    }