Skip to content

4761 Add test for MultipleConnectionsToolFunction dispatch in executeTool#4764

Merged
ivicac merged 1 commit intomasterfrom
4761
Apr 15, 2026
Merged

4761 Add test for MultipleConnectionsToolFunction dispatch in executeTool#4764
ivicac merged 1 commit intomasterfrom
4761

Conversation

@ivicac
Copy link
Copy Markdown
Contributor

@ivicac ivicac commented Apr 14, 2026

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

…Tool

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a focused regression test to ensure ClusterElementDefinitionServiceImpl.executeTool(...) correctly dispatches to MultipleConnectionsToolFunction when the resolved cluster element implements that interface.

Changes:

  • Added a new JUnit test covering the MultipleConnectionsToolFunction branch in executeTool (multi-connection overload).
  • Expanded Mockito/JUnit imports needed to set up and verify the dispatch behavior.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sonarqubecloud
Copy link
Copy Markdown

@ivicac ivicac merged commit 858dbbe into master Apr 15, 2026
7 checks passed
@ivicac ivicac deleted the 4761 branch April 15, 2026 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants