The example of the test on an Android application. 
I didn't verify this. If there are mistakes, I will fix it soon.