2019-11-27 11:20:24 +01:00
|
|
|
<?php
|
|
|
|
|
2020-02-21 10:29:53 +01:00
|
|
|
/**
|
|
|
|
* All rights reserved.
|
|
|
|
* See LICENSE file for license details.
|
|
|
|
*/
|
|
|
|
|
2019-11-27 11:20:24 +01:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
namespace __Vendor__\GraphQL\__Package__\Tests\Unit\Framework;
|
|
|
|
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
use __Vendor__\GraphQL\__Package__\Framework\NamespaceMapper;
|
|
|
|
|
2020-02-21 10:29:53 +01:00
|
|
|
/**
|
|
|
|
* @covers __Vendor__\GraphQL\__Package__\Framework\NamespaceMapper
|
|
|
|
*/
|
2019-11-27 11:20:24 +01:00
|
|
|
class NamespaceMapperTest extends TestCase
|
|
|
|
{
|
2020-02-21 10:29:53 +01:00
|
|
|
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()
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|