// Copyright The libpkgmanifest Authors
// SPDX-License-Identifier: LGPL-2.1-or-later

#include "impl/manifest/objects/checksum/ichecksum.hpp"

#include <gmock/gmock.h>

using namespace libpkgmanifest::internal::manifest;

namespace {

class ChecksumMock : public IChecksum {
public:
    MOCK_METHOD(std::unique_ptr<IChecksum>, clone, (), (const, override));
    MOCK_METHOD(ChecksumMethod, get_method, (), (const, override));
    MOCK_METHOD(std::string, get_digest, (), (const, override));
    MOCK_METHOD(void, set_method, (ChecksumMethod), (override));
    MOCK_METHOD(void, set_digest, (const std::string &), (override));
};

}  // namespace
