#include "test/mocks/buffer/mocks.h" #include "common/common/assert.h" namespace Envoy { template <> MockBufferBase::MockBufferBase(std::function below_low, std::function above_high, std::function above_overflow) : Buffer::WatermarkBuffer(below_low, above_high, above_overflow) {} template <> MockBufferBase::MockBufferBase() : Buffer::WatermarkBuffer([&]() -> void {}, [&]() -> void {}, [&]() -> void {}) { ASSERT(0); // This constructor is not supported for WatermarkBuffer. } template <> MockBufferBase::MockBufferBase(std::function, std::function, std::function) : Buffer::OwnedImpl() { ASSERT(0); // This constructor is not supported for OwnedImpl. } template <> MockBufferBase::MockBufferBase() : Buffer::OwnedImpl() {} MockBufferFactory::MockBufferFactory() = default; MockBufferFactory::~MockBufferFactory() = default; } // namespace Envoy