blob: 1e8002390b77fb346735b88a319d03b4c336a6ce [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_METHOD(void, NotifyDisconnected, (), (override));
MOCK_METHOD(void, NotifyConnected, (), (override));
private:
DISALLOW_COPY_AND_ASSIGN(MockUpstart);
};
} // namespace shill
#endif // SHILL_UPSTART_MOCK_UPSTART_H_