+ Start a Discussion
Phuc Huynh 1Phuc Huynh 1 

How to insert and use records from external object in @testSetup?

Hi All,
Can you help me how to  write Test Class for External object Data?
I have some class use data from exteral object for logic code. I saw that someone use mockrequest.
But i need to query records into my classes it's not working with the same solution. How to insert and use records external object in @testSetup?
Please help me about this case.