Unit Testing with types like IdpSsoResult and SloResult


I would like to unit test my MVC Controllers but I cannot test all branches since I cannot set the read-only properties for objects of types like SloResult and IdPSsoResult.
I cannot mock them either, since they don’t implement interfaces.
What is the intended way to unit test with such types?


Please contact support@componentspace.com to discuss options.

Corresponding interfaces will be introduced for these classes as part of the v2.0.6 release.

Glad to hear, thank you!

You’re welcome.
Email us if you’d like to try the beta release.