private CancelOnAcquired_ShouldCancelAcquired ( ) : void | ||
return | void |
public void CancelOnAcquired_ShouldCancelAcquired()
{
this.SetupFactoryCreatesScope();
using (IEventScope scope = this.testee.Acquire())
{
scope.Cancel();
}
A.CallTo(() => this.eventScope.Cancel()).MustHaveHappened();
}