Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01At3V6SjwbMe6eMzVGW3Hs7
24 lines
633 B
PHP
24 lines
633 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace LIT\MCP\Tests\Unit\Integrations\Core;
|
|
|
|
use LIT\MCP\Integrations\Core\CoreIntegration;
|
|
use LIT\MCP\Tests\Unit\TestCase;
|
|
|
|
final class CoreIntegrationTest extends TestCase
|
|
{
|
|
public function testIsAlwaysAvailableAndProvidesGuideAndStatus(): void
|
|
{
|
|
$core = new CoreIntegration(dirname(__DIR__, 3) . '/Fixtures/guides');
|
|
|
|
self::assertSame('core', $core->id());
|
|
self::assertTrue($core->isAvailable());
|
|
self::assertSame(
|
|
['lit/guide', 'lit/site-status'],
|
|
array_map(static fn ($a) => $a->name(), $core->abilities())
|
|
);
|
|
}
|
|
}
|