@ file : Jvm Name (" Devices ") Ċ Ċ package Ġcom . moon pi . swift notes . util Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroid . support . test . Instrumentation Registry Ċ import Ġandroid . support . test . uia utom ator . Ui Device Ċ Ċ // TODO Ġ( 2 . 1 ĠUnit ily ) Ġtarget Ġcontext Ġwill Ġnever Ġbe Ġused Ċ val Ġtarget Context : ĠContext ĊĠĠĠ Ġget () Ġ= ĠInstrument ation Registry . get Instrumentation (). target Context Ċ Ċ // TODO Ġ( 2 . 2 ĠUnit ily ) Ġin Ġcontrast Ġto Ġtesting Ġcontext Ċ val Ġcontext : ĠContext ĊĠĠĠ Ġget () Ġ= ĠInstrument ation Registry . get Instrumentation (). context Ċ Ċ // TODO Ġ( 2 . 3 ĠUnit ily ) Ġphone / emulator Ċ fun Ġget Device (): ĠUi Device Ġ= ĠUi Device . getInstance ( Instrumentation Registry . get Instrumentation ())