@@ -0,0 +1,560 @@
+package com.connectsdk.shadow;%0A%0Aimport java.net.InetAddress;%0Aimport java.net.UnknownHostException;%0A%0Aimport org.robolectric.annotation.Implements;%0Aimport org.robolectric.shadows.ShadowWifiInfo;%0A%0Aimport android.net.wifi.WifiInfo;%0A%0A@Implements(WifiInfo.class)%0Apublic class WifiInfoShadow extends ShadowWifiInfo %7B%0A%0A%09public int getIpAddress() %7B%0A%09%09try %7B%0A%09%09%09byte%5B%5D addr = InetAddress.getLocalHost().getAddress();%0A%09%09%09return addr%5B0%5D + (addr%5B1%5D %3C%3C 8) + (addr%5B2%5D %3C%3C 16) + (addr%5B3%5D %3C%3C 24);%0A%09%09%7D catch (UnknownHostException e) %7B%0A%09%09%09e.printStackTrace();%0A%09%09%7D%0A%09%09return 0;%0A%09%7D%0A%7D%0A

Add WiFiInfo shadow for testing