public async Task <ISyncLock> Create() { var realLock = new RealSyncLock(_semaphore); await realLock.Lock().ConfigureAwait(false); return(realLock); }
public void SetUp() { _sut = new RealSyncLock(_semaphore); }