@Override
  public boolean onInterceptTouchEvent(MotionEvent ev) {
    if (isEnabled()) return super.onInterceptTouchEvent(ev);
    else return false;
  }
@Test
  public void onInterceptTouchEventDisabled() throws Exception {
    mUnderTest.setEnabled(false);

    Assert.assertFalse(
        mUnderTest.onInterceptTouchEvent(
            MotionEvent.obtain(10, 10, MotionEvent.ACTION_DOWN, 1f, 1f, 0)));
  }