blob: 3c5167cd9f97d501d63e569f683bdd97431f65b9 [file]
// Copyright 2026 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef QUICHE_QUIC_QBONE_MOCK_QBONE_PACKET_EXCHANGER_H_
#define QUICHE_QUIC_QBONE_MOCK_QBONE_PACKET_EXCHANGER_H_
#include <cstddef>
#include "quiche/quic/platform/api/quic_test.h"
#include "quiche/quic/qbone/bonnet/qbone_client_packet_exchanger.h"
#include "quiche/quic/qbone/qbone_client_interface.h"
namespace quic::test {
class MockQboneClientPacketExchanger : public QboneClientPacketExchanger {
public:
MOCK_METHOD(bool, ReadAndDeliverPacket, (QboneClientInterface* qbone_client),
(override));
MOCK_METHOD(void, WritePacketToNetwork, (const char* packet, size_t size),
(override));
};
} // namespace quic::test
#endif // QUICHE_QUIC_QBONE_MOCK_QBONE_PACKET_EXCHANGER_H_