Salesforce Pertanyaan dan Jawaban Wawancara
Question: What is the purpose of the 'System.runAs()' method in Apex testing?Answer: The 'System.runAs()' method in Apex testing is used to run a block of code with the specified user context. It is often used to test code that depends on user permissions and profiles. |
Simpan untuk Revisi
Bookmark item ini, tandai sebagai sulit, atau masukkan ke dalam set revisi.
Masuk untuk menyimpan bookmark, pertanyaan sulit, dan set revisi.
Apakah ini membantu? Ya Tidak
Most helpful rated by users: