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

28 regels
648 B
PHP

2019-11-27 11:20:24 +01:00
<?php
declare(strict_types=1);
namespace __Vendor__\GraphQL\__Package__\Tests\Unit\Framework;
use PHPUnit\Framework\TestCase;
use __Vendor__\GraphQL\__Package__\Framework\NamespaceMapper;
class NamespaceMapperTest extends TestCase
{
/**
* @covers __Vendor__\GraphQL\__Package__\Framework\NamespaceMapper
*/
public function testFooBar()
{
$namespaceMapper = new NamespaceMapper();
$this->assertCount(
1,
$namespaceMapper->getControllerNamespaceMapping()
);
$this->assertCount(
1,
$namespaceMapper->getTypeNamespaceMapping()
);
}
}