Пример #1
0
 function let(VariantInterface $masterVariant)
 {
     $masterVariant->setMaster(true)->shouldBeCalled();
     $masterVariant->setProduct($this)->shouldBeCalled();
     $masterVariant->isMaster()->willReturn(true);
     $this->setMasterVariant($masterVariant);
 }