blob: 84955b45d95d345800f11cf75ff41b078423361a [file] [log] [blame]
Paul Stewart59a8cba2015-01-09 15:48:19 -08001// Copyright 2015 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_UPSTART_MOCK_UPSTART_H_
6#define SHILL_UPSTART_MOCK_UPSTART_H_
7
8#include <string>
9
10#include <base/macros.h>
11#include <gmock/gmock.h>
12
13#include "shill/upstart/upstart.h"
14
15namespace shill {
16
17class ProxyFactory;
18
19class MockUpstart : public Upstart {
20 public:
21 explicit MockUpstart(ProxyFactory *proxy_factory);
22 ~MockUpstart() override;
23
24 MOCK_METHOD0(NotifyDisconnected, void());
25
26 private:
27 DISALLOW_COPY_AND_ASSIGN(MockUpstart);
28};
29
30} // namespace shill
31
32#endif // SHILL_UPSTART_MOCK_UPSTART_H_