Added missing comment
git-svn-id: file:///srv/devel/repo-conversion/nusu@126 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
parent
dcf47768e5
commit
46ec063abd
|
@ -207,13 +207,17 @@ namespace Nuclex.Support.Tracking {
|
|||
Assert.IsTrue(test.Wait(TimeSpan.Zero));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Verifies that no error occurs when an even subscriber to the AsyncEnded event
|
||||
/// unsubscribes in the event callback handler
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void TestUnsubscribeInEndedCallback() {
|
||||
TestTransaction monitored = new TestTransaction();
|
||||
UnsubscribingTransaction test = new UnsubscribingTransaction(monitored);
|
||||
|
||||
ITransactionSubscriber mockedSubscriber = mockSubscriber(monitored);
|
||||
|
||||
|
||||
try {
|
||||
Expect.Once.On(mockedSubscriber).Method("Ended").WithAnyArguments();
|
||||
monitored.End();
|
||||
|
|
Loading…
Reference in New Issue
Block a user