Ejemplo n.º 1
0
 function it_does_not_recalculate_adjustments_on_adjustable_entity_when_neutral_set_to_current_value(OrderInterface $order)
 {
     $order->addAdjustment($this->getWrappedObject())->shouldBeCalled();
     $this->setAdjustable($order);
     $order->recalculateAdjustmentsTotal()->shouldNotBeCalled();
     $this->setNeutral(false);
 }