33 Zeilen
731 B
PHP
33 Zeilen
731 B
PHP
<?php
|
|
|
|
/**
|
|
* All rights reserved.
|
|
* See LICENSE file for license details.
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace __Vendor__\GraphQL\__Package__\Tests\Unit\Shared\Service;
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
use __Vendor__\GraphQL\__Package__\Shared\Service\NamespaceMapper;
|
|
|
|
/**
|
|
* @covers __Vendor__\GraphQL\__Package__\Shared\Service\NamespaceMapper
|
|
*/
|
|
class NamespaceMapperTest extends TestCase
|
|
{
|
|
public function testFooBar(): void
|
|
{
|
|
$namespaceMapper = new NamespaceMapper();
|
|
$this->assertCount(
|
|
1,
|
|
$namespaceMapper->getControllerNamespaceMapping()
|
|
);
|
|
$this->assertCount(
|
|
1,
|
|
$namespaceMapper->getTypeNamespaceMapping()
|
|
);
|
|
}
|
|
}
|