shill: add unittests for wifi

BUG=chromium-os:16785,chromium-os:16419
TEST=FEATURES="test nostrip noclean" emerge-x86-generic shill

Change-Id: I2a681a8f3ab291089d4622dabbbbd1a6ec42bdb8
Reviewed-on: http://gerrit.chromium.org/gerrit/4411
Tested-by: mukesh agrawal <quiche@chromium.org>
Reviewed-by: Darin Petkov <petkov@chromium.org>
diff --git a/mock_supplicant_process_proxy.h b/mock_supplicant_process_proxy.h
new file mode 100644
index 0000000..89eb507
--- /dev/null
+++ b/mock_supplicant_process_proxy.h
@@ -0,0 +1,31 @@
+// Copyright (c) 2011 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 MOCK_SUPPLICANT_PROCESS_PROXY_H_
+#define MOCK_SUPPLICANT_PROCESS_PROXY_H_
+
+#include <gmock/gmock.h>
+
+#include "supplicant_process_proxy_interface.h"
+
+namespace shill {
+
+class MockSupplicantProcessProxy : public SupplicantProcessProxyInterface {
+ public:
+  MockSupplicantProcessProxy() {}
+  virtual ~MockSupplicantProcessProxy() {}
+
+  MOCK_METHOD1(CreateInterface,
+               ::DBus::Path(
+                   const std::map<std::string, ::DBus::Variant> &args));
+  MOCK_METHOD1(GetInterface, ::DBus::Path(const std::string &ifname));
+  MOCK_METHOD1(RemoveInterface, void(const ::DBus::Path &path));
+
+ private:
+  DISALLOW_COPY_AND_ASSIGN(MockSupplicantProcessProxy);
+};
+
+}  // namespace shill
+
+#endif  // MOCK_SUPPLICANT_PROCESS_PROXY_H_