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!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

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?