function it_throws_cart_not_found_exception_and_removes_id_from_session_when_cart_was_not_found(SessionInterface $session, OrderRepositoryInterface $orderRepository, ChannelContextInterface $channelContext, ChannelInterface $channel)
{
$channelContext->getChannel()->willReturn($channel);
$channel->getCode()->willReturn('Poland');
$session->has('session_key_name.Poland')->willReturn(true);
$session->get('session_key_name.Poland')->willReturn(12345);
$orderRepository->findCartByChannel(12345, $channel)->willReturn(null);
$session->remove('session_key_name.Poland')->shouldBeCalled();
$this->shouldThrow(CartNotFoundException::class)->during('getCart');
}