importorg.junit.Testimportorg.junit.runner.RunWithimportorg.junit.Assert.*/** * Instrumented test, which will execute on an Android device. * * See [testing documentation](http://d.android.com/tools/testing). */@RunWith(AndroidJUnit4::class)classExampleInstrumentedTest{@TestfunuseAppContext(){// Context of the app under test.valappContext=InstrumentationRegistry.getInstrumentation().targetContextassertEquals("com.yidianling.home.test",appContext.packageName)}}