Home | History | Annotate | Download | only in shadows
      1 package com.xtremelabs.robolectric.shadows;
      2 
      3 import android.net.wifi.WifiInfo;
      4 import com.xtremelabs.robolectric.internal.Implementation;
      5 import com.xtremelabs.robolectric.internal.Implements;
      6 
      7 @Implements(WifiInfo.class)
      8 public class ShadowWifiInfo {
      9 
     10     private String macAddress;
     11 
     12     @Implementation
     13     public String getMacAddress() {
     14         return macAddress;
     15     }
     16 
     17     public void setMacAddress(String newMacAddress) {
     18         macAddress = newMacAddress;
     19     }
     20 }
     21