blob: d67991bcc39e7750dade89da47928ba6e88f28be [file] [log] [blame]
#pragma once
#include "updater.hpp"
#include <string>
#include <gmock/gmock.h>
namespace host_tool
{
class UpdateHandlerMock : public UpdateHandlerInterface
{
public:
MOCK_METHOD1(checkAvailable, bool(const std::string&));
MOCK_METHOD2(sendFile, void(const std::string&, const std::string&));
MOCK_METHOD1(verifyFile, bool(const std::string&));
MOCK_METHOD0(cleanArtifacts, void());
};
} // namespace host_tool