blob: 321052ff70768b6fd72bb1246a3a78c9403c15a3 [file] [log] [blame]
Jason Glasgow14521872012-05-07 19:12:15 -04001// Copyright (c) 2012 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_MOCK_CELLULAR_SERVICE_H_
6#define SHILL_MOCK_CELLULAR_SERIVCE_H_
7
8#include <string>
9
10#include <gmock/gmock.h>
11
12#include "shill/cellular_service.h"
13
14namespace shill {
15
16class MockCellularService : public CellularService {
17 public:
18 MockCellularService(ControlInterface *control_interface,
19 EventDispatcher *dispatcher,
20 Metrics *metrics,
21 Manager *manager,
22 const CellularRefPtr &device);
23 virtual ~MockCellularService();
24
25 MOCK_METHOD1(SetLastGoodApn, void(const Stringmap &apn_info));
26 MOCK_METHOD0(ClearLastGoodApn, void());
27
28 private:
29 DISALLOW_COPY_AND_ASSIGN(MockCellularService);
30};
31
32} // namespace shill
33
34#endif // SHILL_MOCK_CELLULAR_SERVICE_H_