1
0
mirror of https://github.com/danog/amp.git synced 2024-12-02 17:37:50 +01:00
amp/test/UvLoopTest.php

19 lines
374 B
PHP
Raw Normal View History

2016-06-09 19:57:46 +02:00
<?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;
}
}