code: @Override
      protected void prepareActions() throws QTasteTestFailException {
          mSelectState = Boolean.parseBoolean(mData[0].toString());
          if (!(component instanceof AbstractButton)) {
              throw new QTasteTestFailException("Unsupported component.");
          }
      }
docs: Takes from the data the selection state.
  
  @throws QTasteTestFailException if the component is not an {@link AbstractButton}.