camelCaseDave/xrm-mock

View on GitHub
src/xrm-mock/navigation/filedetails/filedetails.mock.ts

Summary

Maintainability
B
4 hrs
Test Coverage
F
33%
export class FileDetailsMock implements Xrm.Navigation.FileDetails {
  public fileContent: string;
  public fileName: string;
  public fileSize: number;
  public mimeType: string;

  constructor(fileContent?: string, fileName?: string, fileSize?: number, mimeType?: string) {
    this.fileContent = fileContent;
    this.fileName = fileName;
    this.fileSize = fileSize;
    this.mimeType = mimeType;
  }
}