export class StubSupervisorLockGateway {
    acquireCallCount = 0;
    releaseCallCount = 0;
    acquireResult = {
        acquired: true,
        reason: null,
    };
    setAcquireResult(result) {
        this.acquireResult = result;
    }
    async acquire() {
        this.acquireCallCount += 1;
        return this.acquireResult;
    }
    async release() {
        this.releaseCallCount += 1;
    }
}
//# sourceMappingURL=supervisorLock.stub.js.map