there are several cases you can use
Some common Test cases:
TestCase – It is a JUnit test case. It can be extended to test utility classes that are not tied to the Android framework.
AndroidTestCase – It extends JUnit’s TestCase. It doesn’t need to launch an activity to run it. It can be used when user wants to access Resources that depend on Activity Context.
ActivityInstrumentationTestCase2<T extends android.app.Activity> – It provides UI and functional testing for a single activity.
ActivityUnitTestCase<T extends android.app.Activity> – It gives the tested activity an isolated environment. The activity under test will be created with minimal connection to the system infrastructure.
ApplicationTestCase<T extends android.app.Application> – It provides