shill: cellular: make enable and disable for universal modems

Make enable and disable for universal modems.

BUG=chromium-os:28700
TEST=run unit tests, enable and disable a Y3300

Change-Id: Icaaa72b976bed0f597dac2c46140172a8d901913
Reviewed-on: https://gerrit.chromium.org/gerrit/19913
Commit-Ready: Jason Glasgow <jglasgow@chromium.org>
Reviewed-by: Jason Glasgow <jglasgow@chromium.org>
Tested-by: Jason Glasgow <jglasgow@chromium.org>
diff --git a/mock_mm1_modem_simple_proxy.h b/mock_mm1_modem_simple_proxy.h
new file mode 100644
index 0000000..e41e0db
--- /dev/null
+++ b/mock_mm1_modem_simple_proxy.h
@@ -0,0 +1,41 @@
+// 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_MM1_MOCK_MODEM_SIMPLE_PROXY_
+#define SHILL_MM1_MOCK_MODEM_SIMPLE_PROXY_
+
+#include <string>
+
+#include <base/basictypes.h>
+#include <gmock/gmock.h>
+
+#include "shill/mm1_modem_simple_proxy_interface.h"
+
+namespace shill {
+namespace mm1 {
+
+class MockModemSimpleProxy : public ModemSimpleProxyInterface {
+ public:
+  MockModemSimpleProxy();
+  virtual ~MockModemSimpleProxy();
+
+  MOCK_METHOD4(Connect, void(const DBusPropertiesMap &properties,
+                             Error *error,
+                             const DBusPathCallback &callback,
+                             int timeout));
+  MOCK_METHOD4(Disconnect, void(const ::DBus::Path &bearer,
+                                Error *error,
+                                const ResultCallback &callback,
+                                int timeout));
+  MOCK_METHOD3(GetStatus, void(Error *error,
+                               const DBusPropertyMapCallback &callback,
+                               int timeout));
+ private:
+  DISALLOW_COPY_AND_ASSIGN(MockModemSimpleProxy);
+};
+
+}  // namespace mm1
+}  // namespace shill
+
+#endif  // SHILL_MM1_MOCK_MODEM_SIMPLE_PROXY_