Moq’ing a Func or Action
Just ran into trying to test a method that takes a callback in the form of Func<Title,PageNodeData>. Initially i figured, it's a func, dead simple, i'll just roll my own func. But the method calls it multiple times with different … Continue reading