@Test
public void testOnTouchEvent() throws Exception {

  for(int action:EVENTS) {
    MotionEvent event = MotionEvent.obtain(100, 100, action,
        10, 10, 0);
    view.onTouchEvent(event);
    event.recycle();
  }
}