8
0
graphql-module-skeleton/tests/Unit/Shared/Service/NamespaceMapperTest.php
2020-07-03 16:56:13 +02:00

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()
);
}
}