Assert.Raises<> in xUnit
I'm trying to create tests for certain events. However it seems that xUnit assumes that I use EventHandler<> for my events (see screenshot) which is not true for me.
I have my own delegate for events:
So I'm wondering if there's a way I could test it using my delegate (preferably while still using xUnit). Any help would be appreciated.
1 Reply
I have resolved this issue