ViewGestureDetector extends GestureDetector { void resetAdFlaggingGesture() { mAdAlertGestureListener.reset(); } ViewGestureDetector(Context context, View view, AdConfiguration adConfiguration); private  ViewGestureDetector(Context context, View view, AdAlertGestureListener adAlertGestureListener); void sendTouchEvent(MotionEvent motionEvent); void setUserClickListener(UserClickListener listener);  }
@Test public void resetAdFlaggingGesture_shouldNotifyAdAlertGestureListenerOfReset() throws Exception { subject.resetAdFlaggingGesture(); verify(adAlertGestureListener).reset(); }