<commit_before>
import { fireEvent } from 'c/pubsubNoPageRef';
import { getNamespace, isFunction, isNull, validateJSONString } from 'c/utilCommon';

import PAYMENT_AUTHORIZATION_TOKEN_FIELD from
        '@salesforce/schema/DataImport__c.Payment_Authorization_Token__c';
import tokenRequestTimedOut from '@salesforce/label/c.gePaymentRequestTimedOut';

export const mockIframeSendMessage = jest.fn();
export const mockGetIframeReply = jest.fn();
/***
 * @description Visualforce page used to handle the payment services credit card tokenization request
 */
const TOKENIZE_CARD_PAGE_NAME = 'GE_TokenizeCard';

const MOUNT_IFRAME_EVENT_ACTION = 'mount';

const SET_PAYMENT_METHOD_EVENT_ACTION = 'setPaymentMethod';

/***
 * @description Max number of ms to wait for the response containing a token or an error
 */
const TOKENIZE_TIMEOUT_MS = 10000;

const NON_NAMESPACED_CHARACTER = 'c';


/***
 * @description Payment services Elevate credit card tokenization service
 */
export default class psElevateTokenHandler {<commit_msg>Remove unused method in psElevateTokenHandler mock<commit_after>
import { fireEvent } from 'c/pubsubNoPageRef';
import { getNamespace, isFunction, isNull, validateJSONString } from 'c/utilCommon';

import PAYMENT_AUTHORIZATION_TOKEN_FIELD from
        '@salesforce/schema/DataImport__c.Payment_Authorization_Token__c';
import tokenRequestTimedOut from '@salesforce/label/c.gePaymentRequestTimedOut';

export const mockGetIframeReply = jest.fn();

/***
 * @description Visualforce page used to handle the payment services credit card tokenization request
 */
const TOKENIZE_CARD_PAGE_NAME = 'GE_TokenizeCard';

const MOUNT_IFRAME_EVENT_ACTION = 'mount';

const SET_PAYMENT_METHOD_EVENT_ACTION = 'setPaymentMethod';

/***
 * @description Max number of ms to wait for the response containing a token or an error
 */
const TOKENIZE_TIMEOUT_MS = 10000;

const NON_NAMESPACED_CHARACTER = 'c';


/***
 * @description Payment services Elevate credit card tokenization service
 */
export default class psElevateTokenHandler {
{'fraction_non_alphanumeric': 0.08080313418217434, 'fraction_numerical': 0.004897159647404506, 'mean_word_length': 6.168421052631579, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '399554', 'n_tokens_mistral': 623, 'n_tokens_neox': 602, 'n_words': 169}