1<?php 2 3class DataProviderDependencyTest extends PHPUnit_Framework_TestCase 4{ 5 public function testReference() 6 { 7 $this->markTestSkipped('This test should be skipped.'); 8 $this->assertTrue(true); 9 } 10 11 /** 12 * @see https://github.com/sebastianbergmann/phpunit/issues/1896 13 * @depends testReference 14 * @dataProvider provider 15 */ 16 public function testDependency($param) 17 { 18 } 19 20 public function provider() 21 { 22 $this->markTestSkipped('Any test with this data provider should be skipped.'); 23 return []; 24 } 25} 26