| // Copyright 2018 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_TRAFFIC_MONITOR_H_ |
| #define SHILL_MOCK_TRAFFIC_MONITOR_H_ |
| |
| #include "shill/traffic_monitor.h" |
| |
| #include <gmock/gmock.h> |
| |
| namespace shill { |
| |
| class MockTrafficMonitor : public TrafficMonitor { |
| public: |
| MockTrafficMonitor(); |
| ~MockTrafficMonitor() override; |
| |
| MOCK_METHOD(void, Start, (), (override)); |
| MOCK_METHOD(void, Stop, (), (override)); |
| |
| private: |
| DISALLOW_COPY_AND_ASSIGN(MockTrafficMonitor); |
| }; |
| |
| } // namespace shill |
| |
| #endif // SHILL_MOCK_TRAFFIC_MONITOR_H_ |