// SPDX-License-Identifier: Apache-2.0
import { expect } from 'chai';
import Sinon from 'sinon';
import { GetClustersRequest } from '../../../../../../src/integration/kind/request/get/get-clusters-request.js';
describe('GetClustersRequest', () => {
    let builder;
    let request;
    beforeEach(() => {
        // Create a stub for the builder
        builder = {
            subcommands: Sinon.stub().returnsThis(),
        };
        // Create the request
        request = new GetClustersRequest();
    });
    afterEach(() => {
        Sinon.restore();
    });
    describe('apply', () => {
        it('should add get clusters subcommands to the builder', () => {
            // Call the apply method
            request.apply(builder);
            // Verify the correct subcommands were added
            expect(builder.subcommands).to.have.been.calledOnceWith('get', 'clusters');
        });
    });
});
//# sourceMappingURL=get-clusters-request.test.js.map