Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CarnetApp/CarnetNextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/phpunit/phpunit/tests/Regression/GitHub/2382/Issue2382Test.php')
-rw-r--r--vendor/phpunit/phpunit/tests/Regression/GitHub/2382/Issue2382Test.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/vendor/phpunit/phpunit/tests/Regression/GitHub/2382/Issue2382Test.php b/vendor/phpunit/phpunit/tests/Regression/GitHub/2382/Issue2382Test.php
new file mode 100644
index 0000000..9fd49cb
--- /dev/null
+++ b/vendor/phpunit/phpunit/tests/Regression/GitHub/2382/Issue2382Test.php
@@ -0,0 +1,22 @@
+<?php
+use PHPUnit\Framework\TestCase;
+
+class Issue2382Test extends TestCase
+{
+ /**
+ * @dataProvider dataProvider
+ */
+ public function testOne($test)
+ {
+ $this->assertInstanceOf(\Exception::class, $test);
+ }
+
+ public function dataProvider()
+ {
+ return [
+ [
+ $this->getMockBuilder(\Exception::class)->getMock()
+ ]
+ ];
+ }
+}