graphql-module-skeleton/tests/Unit/Shared/Service/NamespaceMapperTest.php

33 lignes
731 B
PHP
Brut Lien permanent Vue normale Historique

2019-11-27 11:20:24 +01:00
<?php
/**
* All rights reserved.
* See LICENSE file for license details.
*/
2019-11-27 11:20:24 +01:00
declare(strict_types=1);
2020-07-03 16:49:41 +02:00
namespace __Vendor__\GraphQL\__Package__\Tests\Unit\Shared\Service;
2019-11-27 11:20:24 +01:00
use PHPUnit\Framework\TestCase;
2020-07-03 16:49:41 +02:00
use __Vendor__\GraphQL\__Package__\Shared\Service\NamespaceMapper;
2019-11-27 11:20:24 +01:00
/**
2020-07-03 16:49:41 +02:00
* @covers __Vendor__\GraphQL\__Package__\Shared\Service\NamespaceMapper
*/
2019-11-27 11:20:24 +01:00
class NamespaceMapperTest extends TestCase
{
public function testFooBar(): void
2019-11-27 11:20:24 +01:00
{
$namespaceMapper = new NamespaceMapper();
$this->assertCount(
1,
$namespaceMapper->getControllerNamespaceMapping()
);
$this->assertCount(
1,
$namespaceMapper->getTypeNamespaceMapping()
);
}
}