The Moles documentation describes how to create events in classes, but the same method does not work with full Mole. You can add a delegate to the add / remove methods, but you cannot manually raise this event.
The only solution I can think of is to create a RaiseEvent () method for the tested class, but this view hits the point of using moles.
Any suggestions?
Geoff source
share