blob: 067e6e531d7a62545844301abe5c348851f602cf [file] [log] [blame]
Wade Guthrieb1ec8602012-10-18 17:26:14 -07001// Copyright (c) 2012 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_CALLBACK80211_OBJECT_
6#define SHILL_MOCK_CALLBACK80211_OBJECT_
7
8#include <gmock/gmock.h>
9
10#include "shill/callback80211_object.h"
11
12
13namespace shill {
14
15class Config80211;
16class UserBoundNlMessage;
17
18class MockCallback80211 : public Callback80211Object {
19 public:
20 explicit MockCallback80211(Config80211 *config80211)
21 : Callback80211Object(config80211) {}
22 MOCK_METHOD1(Config80211MessageCallback, void(const UserBoundNlMessage &msg));
23
24 private:
25 DISALLOW_COPY_AND_ASSIGN(MockCallback80211);
26};
27
28} // namespace shill
29
30#endif // SHILL_MOCK_CALLBACK80211_OBJECT_