blob: 96e8b02483bc24db6cc5a927b87c7073fce81acd [file] [log] [blame]
// Copyright 2015 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SHILL_MOCK_ACTIVE_LINK_MONITOR_H_
#define SHILL_MOCK_ACTIVE_LINK_MONITOR_H_
#include "shill/active_link_monitor.h"
#include <base/macros.h>
#include <gmock/gmock.h>
namespace shill {
class MockActiveLinkMonitor : public ActiveLinkMonitor {
public:
MockActiveLinkMonitor();
~MockActiveLinkMonitor() override;
MOCK_METHOD1(Start, bool(int));
MOCK_METHOD0(Stop, void());
private:
DISALLOW_COPY_AND_ASSIGN(MockActiveLinkMonitor);
};
} // namespace shill
#endif // SHILL_MOCK_ACTIVE_LINK_MONITOR_H_