src/xrm-mock/controls/autocompletecommand/autocompletecommand.mock.ts
export class AutoCompleteCommandMock implements Xrm.Controls.AutoCompleteCommand {
public id: string;
public icon?: string;
public label: string;
constructor(id: string, label: string, icon?: string, action?: () => void) {
this.id = id;
this.label = label;
this.icon = icon;
this.action = action;
}
public action(): void {
throw new Error("Action not implemented.");
}
}