Files
BiFace_Server_Lite/vendor/codeception/base/tests/data/dataprovider_failures_and_exceptions/tests/unit/DataProvidersExceptionCest.php
2020-03-27 10:13:51 +07:00

21 lines
533 B
PHP

<?php
class DataProvidersExceptionCest
{
/**
* @dataProvider triangles
*/
public function testIsTriangle(UnitTester $I)
{
$I->amGoingTo("Fail with an exception before I even get here");
}
// The test of this relies upon the line numbers being unchanged. If you do need to add lines
// please change the relevant test in tests/cli/RunCest:runTestWithDataProvidersExceptionStderrVerbose
public function triangles()
{
throw new \Exception("Something went wrong!!!");
}
}