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/2380/Issue2380Test.php')
-rw-r--r--vendor/phpunit/phpunit/tests/Regression/GitHub/2380/Issue2380Test.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/vendor/phpunit/phpunit/tests/Regression/GitHub/2380/Issue2380Test.php b/vendor/phpunit/phpunit/tests/Regression/GitHub/2380/Issue2380Test.php
new file mode 100644
index 0000000..55c2b80
--- /dev/null
+++ b/vendor/phpunit/phpunit/tests/Regression/GitHub/2380/Issue2380Test.php
@@ -0,0 +1,21 @@
+<?php
+use PHPUnit\Framework\TestCase;
+
+class Issue2380Test extends TestCase
+{
+ /**
+ * @dataProvider generatorData
+ */
+ public function testGeneratorProvider($data)
+ {
+ $this->assertNotEmpty($data);
+ }
+
+ /**
+ * @return Generator
+ */
+ public function generatorData()
+ {
+ yield ['testing'];
+ }
+}