C#C
C#3y ago
Jii

❔ How can I test a custom IValueResolver in AutoMapper 12?

With the latest release of AutoMapper,the public constructor in the ResolutionContext class has been removed. As a result, my previous approach of creating an instance for testing a custom value resolver is no longer viable. Now, I'm facing a challenge in testing my value resolver that relies on a resolution context. How can I effectively test my value resolver under the new circumstances?
Was this page helpful?