You can use one of this method to assert about the activity you expect to see on the screen:
void assertCurrentActivity(String message, Class activityClass)
// Asserts that the Activity matching the specified class is active.
void assertCurrentActivity(String message, Class activityClass, boolean isNewInstance)
// Asserts that the Activity matching the specified class is active, with the possibility to // verify that the expected Activity is a new instance of the Activity.
void assertCurrentActivity(String message, String name)
//Asserts that the Activity matching the specified name is active.
void assertCurrentActivity(String message, String name, boolean isNewInstance)
//Asserts that the Activity matching the specified name is active, with the possibility to //verify that the expected Activity is a new instance of the Activity.