/**
* @package checkout
*
* @internal
*
* @covers \Shopware\Core\Checkout\Cart\TaxProvider\TaxProviderRegistry
*/
class TaxProviderRegistryTest extends TestCase
{ public function testProviderRegistered(): void
{ $registry =
new TaxProviderRegistry( [new TestConstantTaxRateProvider()] );
static::
assertTrue($registry->
has(TestConstantTaxRateProvider::
class));
static::
assertInstanceOf(TestConstantTaxRateProvider::
class,
$registry->
get(TestConstantTaxRateProvider::
class));
static::
assertFalse($registry->
has(TestEmptyTaxProvider::
class));
} public function testProviderNotFound(): void
{