I am using espresso to perform several tests. In my latest test I have to test an activity that has a viewPager with fragments. What I want to do is to call a method of the current visible fragment from the test. Is it possible to do this with espresso? I know how to create ViewActions and Matchers...