/** * @test * @expectedException Palmabit\Library\Exceptions\NotFoundException **/ public function it_throw_exception_if_cannot_change_quantity_of_an_item() { $order = new Order(); $order->changeRowQuantity(1, 10); }
public function changeRowQuantity($product_id, $quantity) { return $this->order->changeRowQuantity($product_id, $quantity); }