Skip to content

Commit 03ec09d

Browse files
committed
add testDox
1 parent b2729b3 commit 03ec09d

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/mcp-sdk/tests/Server/JsonRpcHandlerTest.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
use PHPUnit\Framework\Attributes\CoversClass;
1515
use PHPUnit\Framework\Attributes\Small;
16+
use PHPUnit\Framework\Attributes\TestDox;
1617
use PHPUnit\Framework\TestCase;
1718
use Psr\Log\NullLogger;
1819
use Symfony\AI\McpSdk\Message\Factory;
@@ -25,9 +26,7 @@
2526
#[CoversClass(JsonRpcHandler::class)]
2627
class JsonRpcHandlerTest extends TestCase
2728
{
28-
/**
29-
* Make sure a single notification can be handled by multiple handlers.
30-
*/
29+
#[TestDox("Make sure a single notification can be handled by multiple handlers.")]
3130
public function testHandleMultipleNotifications(): void
3231
{
3332
$handlerA = $this->getMockBuilder(NotificationHandlerInterface::class)
@@ -57,9 +56,7 @@ public function testHandleMultipleNotifications(): void
5756
);
5857
}
5958

60-
/**
61-
* Make sure a single request can NOT be handled by multiple handlers.
62-
*/
59+
#[TestDox("Make sure a single request can NOT be handled by multiple handlers.")]
6360
public function testHandleMultipleRequests(): void
6461
{
6562
$handlerA = $this->getMockBuilder(RequestHandlerInterface::class)

0 commit comments

Comments
 (0)