public function testAddItemOptionProducts()
 {
     $optionProduct = $this->dummyData->getOptionProduct();
     $optionProductIds = [$optionProduct->getId()];
     $product = $this->dummyData->getProduct();
     $cartItem = $this->dummyData->getCartItem($product);
     $cart = $this->dummyData->getCart([$cartItem]);
     $this->optionProductRepository->shouldReceive('getAllOptionProductsByIds')->with($optionProductIds)->andReturn([$optionProduct])->once();
     $this->cartRepository->shouldReceive('getItemById')->with($cartItem->getId())->andReturn($cartItem)->once();
     $this->cartRepositoryShouldUpdateOnce($cart);
     $this->cartService->addItemOptionProducts($cartItem->getId(), $optionProductIds);
     $this->assertEntitiesEqual($optionProduct, $cart->getCartItems()[0]->getCartItemOptionProducts()[0]->getOptionProduct());
 }