blob: 991d011cb01676fb0b5d3785a4ef3ae8d786f7c0 [file] [log] [blame]
// Copyright 2018 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_UPSTART_MOCK_UPSTART_H_
#define SHILL_UPSTART_MOCK_UPSTART_H_
#include <base/macros.h>
#include <gmock/gmock.h>
#include "shill/upstart/upstart.h"
namespace shill {
class MockUpstart : public Upstart {
public:
explicit MockUpstart(ControlInterface* control_interface);
~MockUpstart() override;
MOCK_METHOD0(NotifyDisconnected, void());
MOCK_METHOD0(NotifyConnected, void());
private:
DISALLOW_COPY_AND_ASSIGN(MockUpstart);
};
} // namespace shill
#endif // SHILL_UPSTART_MOCK_UPSTART_H_