shill: cellular: Move cellular code to its own sub-directory.

This CL is part of a series of CLs, which aim to reorganzie shill's flat
source code structure into a more modular form by moving technology
specific code into their own sub-directories.

BUG=chromium:433419
TEST=`USE='cellular' FEATURES=test emerge-$BOARD shill`
TEST=`USE='cellular clang asan' FEATURES=test emerge-$BOARD shill`

Change-Id: I783e85d8c606426ce2ded093588c1243fd0eef97
Reviewed-on: https://chromium-review.googlesource.com/229799
Reviewed-by: Thieu Le <thieule@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
diff --git a/cellular/mock_cellular.h b/cellular/mock_cellular.h
new file mode 100644
index 0000000..7d57148
--- /dev/null
+++ b/cellular/mock_cellular.h
@@ -0,0 +1,46 @@
+// Copyright (c) 2012 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_CELLULAR_MOCK_CELLULAR_H_
+#define SHILL_CELLULAR_MOCK_CELLULAR_H_
+
+#include <string>
+#include <vector>
+
+#include <gmock/gmock.h>
+
+#include "shill/cellular/cellular.h"
+
+namespace shill {
+
+class MockCellular : public Cellular {
+ public:
+  MockCellular(ModemInfo *modem_info,
+               const std::string &link_name,
+               const std::string &address,
+               int interface_index,
+               Type type,
+               const std::string &owner,
+               const std::string &service,
+               const std::string &path,
+               ProxyFactory *proxy_factory);
+  ~MockCellular() override;
+
+  MOCK_METHOD1(Connect, void(Error *error));
+  MOCK_METHOD2(Disconnect, void(Error *error, const char *reason));
+  MOCK_METHOD3(OnDBusPropertiesChanged, void(
+      const std::string &interface,
+      const DBusPropertiesMap &changed_properties,
+      const std::vector<std::string> &invalidated_properties));
+  MOCK_METHOD1(set_modem_state, void(ModemState state));
+  MOCK_METHOD0(DestroyService, void());
+  MOCK_METHOD1(StartPPP, void(const std::string &serial_device));
+
+ private:
+  DISALLOW_COPY_AND_ASSIGN(MockCellular);
+};
+
+}  // namespace shill
+
+#endif  // SHILL_CELLULAR_MOCK_CELLULAR_H_