// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#pragma once

#include "mtd_util_interface.hpp"

#include <gmock/gmock.h>

namespace google
{
namespace hoth
{
namespace internal
{

class MtdMock : public Mtd
{
  public:
    MOCK_METHOD1(findPartition, std::string(const std::string&));
    MOCK_METHOD3(flashCopy, void(const Sys*, const std::vector<uint8_t>&,
                                 const std::string&));
};

} // namespace internal

} // namespace hoth

} // namespace google
