// Copyright 2019 Dell EMC
// Copyright 2020 Open Networking Foundation
//
// 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.

#ifndef STRATUM_HAL_LIB_PHAL_ONLP_ONLP_PHAL_MOCK_H_
#define STRATUM_HAL_LIB_PHAL_ONLP_ONLP_PHAL_MOCK_H_

#include <memory>

#include "stratum/hal/lib/phal/onlp/onlp_phal_interface.h"
#include "stratum/hal/lib/phal/onlp/onlp_wrapper_mock.h"

namespace stratum {
namespace hal {
namespace phal {
namespace onlp {

class OnlpPhalMock : public OnlpPhalInterface {
 public:
  MOCK_METHOD1(PushChassisConfig, ::util::Status(const ChassisConfig& config));
  MOCK_METHOD1(VerifyChassisConfig,
               ::util::Status(const ChassisConfig& config));
  MOCK_METHOD0(Shutdown, ::util::Status());
  MOCK_METHOD1(RegisterOnlpEventCallback,
               ::util::Status(OnlpEventCallback* callback));
};

}  // namespace onlp
}  // namespace phal
}  // namespace hal
}  // namespace stratum
#endif  // STRATUM_HAL_LIB_PHAL_ONLP_ONLP_PHAL_MOCK_H_
