Posts tagged 'anonymous-methods'
Unit testing events with anonymous methods
For a side project, I was unit testing a class with custom events and needed a way to test those events. Anonymous methods makes unit testing of events easy. The below example is simple, but demonstrates how easy it is to unit test events with anonymous methods. using System ; using NUnit . Framework...
Continue reading "Unit testing events with anonymous methods"




