1<?php
2use PHPUnit\Framework\TestCase;
3
4class Issue2382Test extends TestCase
5{
6    /**
7     * @dataProvider dataProvider
8     */
9    public function testOne($test)
10    {
11        $this->assertInstanceOf(\Exception::class, $test);
12    }
13
14    public function dataProvider()
15    {
16        return [
17            [
18                $this->getMockBuilder(\Exception::class)->getMock()
19            ]
20        ];
21    }
22}
23