1<?php 2 3namespace Foo\DataProviderIssue2922; 4 5use PHPUnit\Framework\TestCase; 6 7/** 8 * @group foo 9 */ 10class FirstTest extends TestCase 11{ 12 /** 13 * @dataProvider provide 14 */ 15 public function testFirst($x) 16 { 17 $this->assertTrue(true); 18 } 19 20 public function provide() 21 { 22 throw new \Exception(); 23 } 24} 25