blob: d910d475290cd5c3ebb1a53a0f7be92e66e1b199 [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
22 DISALLOW_COPY_AND_ASSIGN(MockTrafficMonitor);
23};
24
25} // namespace shill
26
27#endif // SHILL_MOCK_TRAFFIC_MONITOR_H_