blob: e23da057aabd570ff7bce4651f2c30e3dd36c179 [file] [log] [blame]
// Copyright 2014 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 APMANAGER_MOCK_DHCP_SERVER_FACTORY_H_
#define APMANAGER_MOCK_DHCP_SERVER_FACTORY_H_
#include <string>
#include <gmock/gmock.h>
#include "apmanager/dhcp_server_factory.h"
namespace apmanager {
class MockDHCPServerFactory : public DHCPServerFactory {
public:
MockDHCPServerFactory();
~MockDHCPServerFactory() override;
MOCK_METHOD2(CreateDHCPServer,
DHCPServer*(uint16_t server_address_index,
const std::string& interface_name));
private:
DISALLOW_COPY_AND_ASSIGN(MockDHCPServerFactory);
};
} // namespace apmanager
#endif // APMANAGER_MOCK_DHCP_SERVER_FACTORY_H_