X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fphpunit%2Fphpunit%2Ftests%2FRegression%2FGitHub%2F498%2FIssue498Test.php;fp=vendor%2Fphpunit%2Fphpunit%2Ftests%2FRegression%2FGitHub%2F498%2FIssue498Test.php;h=49fa76454595348e64ae3e54b0a9331205b41958;hp=0000000000000000000000000000000000000000;hb=eba34333e3c89f208d2f72fa91351ad019a71583;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae diff --git a/vendor/phpunit/phpunit/tests/Regression/GitHub/498/Issue498Test.php b/vendor/phpunit/phpunit/tests/Regression/GitHub/498/Issue498Test.php new file mode 100644 index 000000000..49fa76454 --- /dev/null +++ b/vendor/phpunit/phpunit/tests/Regression/GitHub/498/Issue498Test.php @@ -0,0 +1,44 @@ +assertTrue(true); + } + + /** + * @test + * @dataProvider shouldBeFalseDataProvider + * @group trueOnly + */ + public function shouldBeFalse($testData) + { + $this->assertFalse(false); + } + + public function shouldBeTrueDataProvider() + { + + //throw new Exception("Can't create the data"); + return array( + array(true), + array(false) + ); + } + + public function shouldBeFalseDataProvider() + { + throw new Exception("Can't create the data"); + + return array( + array(true), + array(false) + ); + } +}