<?php

namespace WyriHaximus\React\Tests\AsyncInteropLoop;

use Interop\Async\Loop\Test;
use React\EventLoop\StreamSelectLoop;
use WyriHaximus\React\AsyncInteropLoop\ReactDriverFactory;

class ReactEventLoopTest extends Test
{
    public function getFactory()
    {
        return ReactDriverFactory::createFactoryFromLoop(StreamSelectLoop::class);
    }
}

<?php

namespace WyriHaximus\React\Tests\AsyncInteropLoop;

use Interop\Async\Loop\Test;
use WyriHaximus\React\AsyncInteropLoop\ReactDriverFactory;

class ReactEventLoopTest extends Test
{
    public function getFactory()
    {
        return ReactDriverFactory::createFactory();
    }
}

Use the factory to get the loop
Use the factory to get the loop
