> Hey all,
Has rubberduck got a way of unit testing class event handler calls?
E.G.
```vb
Dim withEvents obj as SomeClass
set obj = new SomeClass
set objTracker = Fakes.trackEvents(obj)
obj.doSomething()
Debug.Print objTracker.called("beforeDoSomething")
Debug.Print objTracker.called("afterDoSomething")
```
If not what's the work around? Should we be creating a class and tracking this more directly?
```vb
Dim WithEvents obj as new SomeObject
Dim called as new collection