blob: c8152c704859566385cff757ed87bb2475906606 [file] [log] [blame]
Ben Chanb061f892013-02-27 17:46:55 -08001// Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef SHILL_MOCK_TRAFFIC_MONITOR_H_
6#define SHILL_MOCK_TRAFFIC_MONITOR_H_
7
8#include "shill/traffic_monitor.h"
9
10#include <gmock/gmock.h>
11
12namespace shill {
13
14class MockTrafficMonitor : public TrafficMonitor {
15 public:
16 MockTrafficMonitor();
17 virtual ~MockTrafficMonitor();
18
19 MOCK_METHOD0(Start, void());
20 MOCK_METHOD0(Stop, void());
21
Alex Vakulenko8a532292014-06-16 17:18:44 -070022 private:
Ben Chanb061f892013-02-27 17:46:55 -080023 DISALLOW_COPY_AND_ASSIGN(MockTrafficMonitor);
24};
25
26} // namespace shill
27
28#endif // SHILL_MOCK_TRAFFIC_MONITOR_H_