dns-over-https/test/QueryEncoderFactoryTest.php

16 lines
323 B
PHP
Raw Normal View History

2019-06-11 16:40:22 +02:00
<?php
2019-06-11 19:07:51 +02:00
namespace Amp\DoH\Test;
2019-06-11 16:40:22 +02:00
use Amp\DoH\QueryEncoder;
2019-06-11 20:07:46 +02:00
use Amp\DoH\QueryEncoderFactory;
use Amp\PHPUnit\TestCase;
2019-06-11 16:40:22 +02:00
class QueryEncoderFactoryTest extends TestCase
{
public function testQueryEncoderFactoryWorks()
{
$this->assertInstanceOf(QueryEncoder::class, (new QueryEncoderFactory)->create());
}
2019-06-11 20:07:46 +02:00
}