Is there a way to mock ArcGIS data types in Swift, such as Layer or IdentifyLayerResult? These types don’t expose public initializers, which makes direct instantiation difficult. However, for unit testing purposes, it's sometimes necessary to inject these objects.
Do you have any recommendations for how to handle this?
Thank you!
Marvin