It's All Writing.

Writing makes you happy.

member variable

How to get data which made in @testSetup method at Apex

Environment Apex Prerequisites We cannot access variables which made in @testSetup method at @isTest method. The example is shown as below. Solution The solution is to select the test data by using SOQL again. gist.github.c…