Android 12 Developer Preview is here! Try it out, and give us your feedback!

androidx.test.ext.truth.view

Classes

MotionEventSubject Subject for MotionEvent
PointerCoordsSubject Subject for MotionEvent.PointerProperties  
PointerPropertiesSubject Subject for MotionEvent.PointerProperties