1
0
mirror of https://github.com/danog/amp.git synced 2025-01-23 05:41:25 +01:00
amp/test/Loop/EvDriverTest.php

21 lines
374 B
PHP

<?php
namespace Amp\Test\Loop;
use Amp\Loop\EvDriver;
/**
* @requires extension ev
*/
class EvDriverTest extends DriverTest {
public function getFactory(): callable {
return function () {
return new EvDriver;
};
}
public function testHandle() {
$this->assertInstanceOf(\EvLoop::class, $this->loop->getHandle());
}
}