I'm coming up to speed with the Moq framework and I have a button on a form that launches another form.
The client wants the form to launch whether the Click or DoubleClick event is fired off.
My understanding of the Moq framework is that it is useful when you want to simulate certain types of actions: (For brevity, I'm only listing a few types of actions)
- Connect to a database
- Write to a file
- Determine network connectivity
But I'm not 100% certain on how Moq can interact with Windows controls and events.
Can anyone put me in the right direction with a simple example?