I am having simple function as Below
fun openWebPage(url: String) {
val openURL = Intent(Intent.ACTION_VIEW)
openURL.data = Uri.parse(url)
startActivity(openURL)
}
How to test and verify that webpage is opened successfully using Robolectric?