import { CachedSolanaRpcFactory } from "../solana/cachedRpcFactory";
// Creates mocked cached Solana RPC factory by using the mocked retry Solana RPC factory.
export class MockCachedSolanaRpcFactory extends CachedSolanaRpcFactory {
    constructor(mockRetrySolanaRpcFactory, ...cachedConstructorParams) {
        super(...cachedConstructorParams);
        this.retryTransport = mockRetrySolanaRpcFactory.createTransport();
        this.retryRpcClient = mockRetrySolanaRpcFactory.createRpcClient();
    }
}
//# sourceMappingURL=MockCachedSolanaRpcFactory.js.map