1<?php 2class DataProviderTestDoxTest extends PHPUnit_Framework_TestCase 3{ 4 /** 5 * @dataProvider provider 6 * @testdox Does something with 7 */ 8 public function testOne() 9 { 10 } 11 12 /** 13 * @dataProvider provider 14 */ 15 public function testDoesSomethingElseWith() 16 { 17 } 18 19 public function provider() 20 { 21 return [ 22 'one' => [1], 23 'two' => [2] 24 ]; 25 } 26} 27