blob: 1e2cf7a9fea4c5dac4f0390d35cb5decfb871e08 [file] [log] [blame]
// Copyright (c) 2013 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_NETLINK_MANAGER_H_
#define SHILL_MOCK_NETLINK_MANAGER_H_
#include <gmock/gmock.h>
#include "shill/netlink_manager.h"
namespace shill {
class MockNetlinkManager : public NetlinkManager {
public:
MockNetlinkManager() {}
~MockNetlinkManager() {}
MOCK_METHOD2(SendMessage, bool(NetlinkMessage *message,
const NetlinkMessageHandler &message_handler));
};
} // namespace shill
#endif // SHILL_MOCK_NETLINK_MANAGER_H_