Raising an event as the When action fails


When writing pure AAA tests, the Act in a test might be that a dependency raises an event. In that case, the only When call in a test will be When<Dependency>.RaiseEvent(....). In this case, the test target is never initialized which makes the code fail.
Closed Nov 28, 2011 at 7:39 PM by RasmusTherkelsen


wrote Nov 28, 2011 at 7:39 PM

Resolved with changeset 66435.

wrote Feb 1, 2013 at 2:35 AM

wrote May 8, 2013 at 5:22 PM