 <p>My solution to this was to add an event handler in the test method, so that when the event is raised, the test method will create a CancelEventAgrs and set its Cancel to True/False.</p> <pre><code>Public Sub TestingMethod() Dim txt As TextLoader = Nothing AddHandler TextLoader.LoadingDoneEvent, (Sub(e As ComponentModel.CancelEventArgs) e.Cancel = True End Sub) txt = New TextLoader() txt.FireThisEvent() End Sub </code></pre>