Welcome to the Install and Configuration feedback portal. We’re happy you’re here! If you have feedback on how to improve the Install and Configuration, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
A more general example of what I'm looking for would be if I have a value, x, and it must be passed into a function, f, how do I verify that that happened? Verify that f(x) occurred, rather than the consequence of f(x) occurring?
f in this example would be your RegisterLicense function. So what I'm looking for when writing a unit test is to verify that x (which I've obtained from somewhere outside the system) is used in the right place, as RegisterLicense(x).
For example, is there an interface that I can mock in Syncfusion.Licensing, so that Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense becomes a mock function that can be tested for its invocation and its parameters?