function it_discovers_api_using_phpdoc_from_own_interfaces($node)
{
$node->getParentClass()->willReturn('stdClass');
$node->getInterfaces()->willReturn(array('spec\\Prophecy\\Doubler\\ClassPatch\\MagicalApiImplemented'));
$node->addMethod(new MethodNode('implementedMethod'))->shouldBeCalled();
$this->apply($node);
}