/** Check new file wizard components are enabled/disabled */
  private void checkNewFileWizardComponents(NewFileWizardOperator nfwo) {

    // Check text fields
    assertFalse(nfwo.txtDescription().isEditable());

    // Checks buttons
    assertFalse(nfwo.btBack().isEnabled());
    assertTrue(nfwo.btNext().isEnabled());
    assertFalse(nfwo.btFinish().isEnabled());
    assertTrue(nfwo.btCancel().isEnabled());
    assertFalse(nfwo.btHelp().isEnabled());
  }
  /** Check new file wizard values */
  private void checkNewFileWizardValues(NewFileWizardOperator nfwo, String fileType) {

    String description = null;

    // Check New File Wizard description
    if (fileType.equals(FILE_TYPE_STANDARD_MBEAN)) {
      description = STANDARD_MBEAN_NEW_FILE_DESCRIPTION;
    } else if (fileType.equals(FILE_TYPE_MXBEAN)) {
      description = MXBEAN_NEW_FILE_DESCRIPTION;
    } else if (fileType.equals(FILE_TYPE_MBEAN_FROM_EXISTING_JAVA_CLASS)) {
      description = MBEAN_FROM_EXISTING_JAVA_CLASS_NEW_FILE_DESCRIPTION;
    } else if (fileType.equals(FILE_TYPE_STANDARD_MBEAN_WITH_METADATA)) {
      description = STANDARD_MBEAN_WITH_METADATA_NEW_FILE_DESCRIPTION;
    }
    assertEquals(description, nfwo.txtDescription().getDisplayedText());
  }