|
5 | 5 | use KLP\KlpMcpServer\Command\TestMcpToolCommand; |
6 | 6 | use KLP\KlpMcpServer\Exceptions\TestMcpToolCommandException; |
7 | 7 | use KLP\KlpMcpServer\Services\ToolService\Examples\HelloWorldTool; |
8 | | -use KLP\KlpMcpServer\Services\ToolService\Examples\VersionCheckTool; |
9 | 8 | use KLP\KlpMcpServer\Services\ToolService\Result\TextToolResult; |
10 | 9 | use KLP\KlpMcpServer\Services\ToolService\Result\ToolResultInterface; |
11 | 10 | use KLP\KlpMcpServer\Services\ToolService\StreamableToolInterface; |
@@ -74,7 +73,7 @@ public function test_get_tool_instance_no_tool_provided_ask_choice_from_configur |
74 | 73 | $this->toolRepositoryMock |
75 | 74 | ->method('getTools') |
76 | 75 | ->willReturn([ |
77 | | - 'hello-world' => $helloWorldTool |
| 76 | + 'hello-world' => $helloWorldTool, |
78 | 77 | ]); |
79 | 78 | $this->inputMock |
80 | 79 | ->method('getArgument') |
@@ -132,7 +131,7 @@ public function test_get_tool_instance_matching_configured_tool_returns_tool_ins |
132 | 131 | $this->toolRepositoryMock |
133 | 132 | ->method('getTools') |
134 | 133 | ->willReturn([ |
135 | | - 'custom' => $toolMock |
| 134 | + 'custom' => $toolMock, |
136 | 135 | ]); |
137 | 136 |
|
138 | 137 | $this->assertSame($toolMock, $this->invokeGetToolInstanceMethod()); |
@@ -182,7 +181,7 @@ public function test_get_tool_instance_tool_not_found_throws_exception(): void |
182 | 181 | $this->toolRepositoryMock |
183 | 182 | ->method('getTools') |
184 | 183 | ->willReturn([ |
185 | | - 'Valid Tool' => $validToolMock |
| 184 | + 'Valid Tool' => $validToolMock, |
186 | 185 | ]); |
187 | 186 |
|
188 | 187 | $this->expectException(TestMcpToolCommandException::class); |
@@ -522,7 +521,7 @@ public function test_list_all_tools_when_valid_tools_present_displays_table(): v |
522 | 521 | ->method('getTools') |
523 | 522 | ->willReturn([ |
524 | 523 | 'Tool1' => $tool1, |
525 | | - 'Tool2' => $tool2 |
| 524 | + 'Tool2' => $tool2, |
526 | 525 | ]); |
527 | 526 |
|
528 | 527 | $toolMocks = [ |
@@ -556,7 +555,7 @@ public function test_list_all_tools_handles_tool_loading_exceptions_gracefully() |
556 | 555 | $this->toolRepositoryMock |
557 | 556 | ->method('getTools') |
558 | 557 | ->willReturn([ |
559 | | - 'hello-world' => $tool |
| 558 | + 'hello-world' => $tool, |
560 | 559 | ]); |
561 | 560 |
|
562 | 561 | $this->ioMock |
|
0 commit comments