Yaffs site version 1.1
[yaffs-website] / vendor / phpunit / phpunit / tests / _files / MultiDependencyTest.php
diff --git a/vendor/phpunit/phpunit/tests/_files/MultiDependencyTest.php b/vendor/phpunit/phpunit/tests/_files/MultiDependencyTest.php
new file mode 100644 (file)
index 0000000..886a809
--- /dev/null
@@ -0,0 +1,23 @@
+<?php
+class MultiDependencyTest extends PHPUnit_Framework_TestCase
+{
+    public function testOne()
+    {
+        return 'foo';
+    }
+
+    public function testTwo()
+    {
+        return 'bar';
+    }
+
+    /**
+     * @depends testOne
+     * @depends testTwo
+     */
+    public function testThree($a, $b)
+    {
+        $this->assertEquals('foo', $a);
+        $this->assertEquals('bar', $b);
+    }
+}