Android Developers Develop Reference android.support.test.espresso.util Classes ActivityLifecycles Helper methods to understand ActivityLifecycle of the app. EspressoOptional<T> This class is a wrapper around Optional in order to avoid having public references to Guava API. HumanReadables Text converters for various Android objects. TreeIterables Utility methods for iterating over tree structured items. TreeIterables.ViewAndDistance Represents the distance a given view is from the root view. Classes ActivityLifecycles EspressoOptional HumanReadables TreeIterables TreeIterables.ViewAndDistance