packagecom.tuya.appsdk.sample.userimportandroidx.test.ext.junit.runners.AndroidJUnit4importandroidx.test.platform.app.InstrumentationRegistryimportorg.junit.Assert.assertEqualsimportorg.junit.Testimportorg.junit.runner.RunWith/** * 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.tuya.appsdk.sample.user.test",appContext.packageName)}}