I am working on creating a library project which accepts application context during initialization of library. During one method call of the library, I am opening an activity of the library, which is working as expected.
I am trying to write a test case to validate that, when that particular library method is invoked, startActivity()
is called. I found many test case examples which starts one activity from another activity, but not of starting activity using context.
Thanks in Advance!