1 package com.xtremelabs.robolectric; 2 3 import android.nfc.NdefMessage; 4 import android.nfc.NdefRecord; 5 import android.nfc.NfcAdapter; 6 import com.xtremelabs.robolectric.shadows.ShadowNdefMessage; 7 import com.xtremelabs.robolectric.shadows.ShadowNdefRecord; 8 import com.xtremelabs.robolectric.shadows.ShadowNfcAdapter; 9 10 public class RobolectricShadowOfLevel9 { 11 private RobolectricShadowOfLevel9() { } 12 13 public static ShadowNdefMessage shadowOf(NdefMessage instance) { 14 return (ShadowNdefMessage) Robolectric.shadowOf_(instance); 15 } 16 17 public static ShadowNdefRecord shadowOf(NdefRecord instance) { 18 return (ShadowNdefRecord) Robolectric.shadowOf_(instance); 19 } 20 21 public static ShadowNfcAdapter shadowOf(NfcAdapter instance) { 22 return (ShadowNfcAdapter) Robolectric.shadowOf_(instance); 23 } 24 } 25