spec\Prophecy\Doubler\DoublerSpec::its_registerClassPatch_adds_a_patch_to_the_doubler PHP Метод

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

public its_registerClassPatch_adds_a_patch_to_the_doubler ( Prophecy\Doubler\ClassPatch\ClassPatchInterface $patch )
$patch Prophecy\Doubler\ClassPatch\ClassPatchInterface
    function its_registerClassPatch_adds_a_patch_to_the_doubler(ClassPatchInterface $patch)
    {
        $this->registerClassPatch($patch);
        $this->getClassPatches()->shouldReturn(array($patch));
    }