export class StubSupervisorGateway {
    probeCallCount = 0;
    spawnCallCount = 0;
    probeResult = { state: 'up', reason: null };
    spawnResult = {
        state: 'spawned',
        pid: 1,
        reason: null,
    };
    setProbeResult(result) {
        this.probeResult = result;
    }
    setSpawnResult(result) {
        this.spawnResult = result;
    }
    async probe() {
        this.probeCallCount += 1;
        return this.probeResult;
    }
    async spawnDetached() {
        this.spawnCallCount += 1;
        return this.spawnResult;
    }
}
//# sourceMappingURL=supervisor.stub.js.map