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

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