Improve performance of Dynamic Application Factories
Also added a method overload to provide a Package Name. Useful for DX based second generation packages. Now each package can have their own bindings.
This commit is contained in:
@@ -111,6 +111,5 @@ public with sharing class fflib_MockSObjectUtil
|
||||
Lead record = new Lead(Id = fflib_IDGenerator.generate(Schema.Lead.SObjectType));
|
||||
SObject result = addFieldValue(record, Lead.ConvertedDate, today);
|
||||
System.assertEquals(today, result.get(Lead.ConvertedDate));
|
||||
System.debug('result: '+result);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user