收藏Vamshi Krishna Pemberthi (IBM) 提问于 #Salesforce Developer2021年6月23日 11:38Is there any way to test the apex class methods which are based on caseHistory Object?1 个回答排序按日期排序按最有帮助排序按日期排序已采纳的回答Pranit Jangada (IBM)2021年10月1日 13:46Hello Vamshi, You need to create fake data for CaseHistory (just like you create the records for Case Object in test method) and use that data in the test class.添加评论撰写回答...粗体斜体下划线删除线项目符号列表编号列表添加链接代码块插入图像附加文件链接 URL取消保存0/9000回复
已采纳的回答Pranit Jangada (IBM)2021年10月1日 13:46Hello Vamshi, You need to create fake data for CaseHistory (just like you create the records for Case Object in test method) and use that data in the test class.