spec\Prophecy\Doubler\Generator\Node\ClassNodeSpec::its_hasInterface_returns_true_if_class_implements_interface PHP Method

its_hasInterface_returns_true_if_class_implements_interface() public method

    function its_hasInterface_returns_true_if_class_implements_interface()
    {
        $this->addInterface('MyInterface');
        $this->hasInterface('MyInterface')->shouldReturn(true);
    }