You are here

MultiDependencyTest.php in Zircon Profile 8

Same filename and directory in other branches
  1. 8.0 vendor/phpunit/phpunit/tests/_files/MultiDependencyTest.php

File

vendor/phpunit/phpunit/tests/_files/MultiDependencyTest.php
View source
<?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);
  }

}

Classes