public void DequeueFromClosingRemovesSession() { // given var target = CreateContext(); ISessionWatchdogContext targetExplicit = target; targetExplicit.CloseOrEnqueueForClosing(mockSession, 0); Assert.That(target.GetSessionsToClose().Count, Is.EqualTo(1)); // when targetExplicit.DequeueFromClosing(mockSession); // then Assert.That(target.GetSessionsToClose().Count, Is.EqualTo(0)); }
void ISessionWatchdog.DequeueFromClosing(ISessionInternals session) { context.DequeueFromClosing(session); }