aboutsummaryrefslogtreecommitdiffhomepage
path: root/assets/php/vendor/react/promise-timer/tests/TimeoutExceptionTest.php
blob: e9bedd987b8aeb52338eafd96edd92c33d0f1b2f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

namespace React\Tests\Promise\Timer;

use React\Promise\Timer\TimeoutException;

class TimeoutExceptionTest extends TestCase
{
    public function testAccessTimeout()
    {
        $e = new TimeoutException(10);

        $this->assertEquals(10, $e->getTimeout());
    }
}