1
0
mirror of https://github.com/danog/amp.git synced 2024-12-03 09:57:51 +01:00
amp/test/UvLoopTest.php
Aaron Piotrowski 33338324d4 Add UvLoop
2016-06-09 12:57:46 -05:00

19 lines
374 B
PHP

<?php
namespace Amp\Test\Loop;
use Amp\Loop\UvLoop;
use Interop\Async\Loop\DriverFactory;
use Interop\Async\Loop\Test;
class UvLoopTest extends Test {
public function getFactory() {
$factory = $this->getMockBuilder(DriverFactory::class)->getMock();
$factory->method('create')
->willReturn(new UvLoop());
return $factory;
}
}