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));
}