source: class AnalogStickTranslatorTest  {
  
      private final float[][] LEFT;
      private final float[][] RIGHT;
      private final float[][] UP;
      private final float[][] DOWN;
      private final List<MotionEvent> mLeftAsc;
      private final List<MotionEvent> mLeftDesc;
      private final List<MotionEvent> mRightAsc;
      private final List<MotionEvent> mRightDesc;
      private final List<MotionEvent> mUpAsc;
      private final List<MotionEvent> mUpDesc;
      private final List<MotionEvent> mDownAsc;
      private final List<MotionEvent> mDownDesc;
      private AnalogStickTranslator mTranslator;
      private KeyEvent mLastKeyEvent;
  
      @Test
      public void moveStickUpDescendant() {
  
target:         for (MotionEvent me : mUpDesc) {
              mTranslator.handle(me);
          }
  
          assertNull("Event should NOT be produced when moving in descendant direction", mLastKeyEvent);
      }
  
  }