mirror of
https://github.com/danog/amp.git
synced 2024-12-02 09:27:46 +01:00
21 lines
338 B
PHP
21 lines
338 B
PHP
<?php
|
|
|
|
namespace Amp\Test\Loop;
|
|
|
|
use Amp\Loop\NativeDriver;
|
|
|
|
class NativeDriverTest extends DriverTest
|
|
{
|
|
public function getFactory(): callable
|
|
{
|
|
return function () {
|
|
return new NativeDriver;
|
|
};
|
|
}
|
|
|
|
public function testHandle()
|
|
{
|
|
$this->assertNull($this->loop->getHandle());
|
|
}
|
|
}
|