版本:NextMethods
- getContextMocksSize(): number
- initSimulation(group?: string): Promise<void>
- isMocked(obj: any, key: any, group?: string): boolean
- mockClassProperty(clzz: new (...args: any[]) => any, propertyName: string, value: any, group?: string): void
- mockProperty(obj: any, key: string, value: any, group?: string): void
- restore(group?: string): void
- runSimulatorSetup(): Promise<void>
- runSimulatorTearDown(): Promise<void>
- mockClassProperty(clzz: new (...args: any[]) => any, propertyName: string, value: any, group?: string): void
- mockProperty(obj: new (...args: any[]) => any, key: string, value: any, group?: string): void
Prepare mocks before the service is initialized