graphql-module-skeleton/tests/Unit/Framework/NamespaceMapperTest.php

33 lines
716 B
PHP
Raw Normal View History

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);
namespace __Vendor__\GraphQL\__Package__\Tests\Unit\Framework;
use PHPUnit\Framework\TestCase;
use __Vendor__\GraphQL\__Package__\Framework\NamespaceMapper;
/**
* @covers __Vendor__\GraphQL\__Package__\Framework\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()
);
}
}