3 * This file is loaded by PHPUnit before any test.
6 use PHPUnit\DbUnit\DataSet\YamlDataSet;
7 use PHPUnit\DbUnit\TestCaseTrait;
8 use PHPUnit\Framework\TestCase;
10 // Backward compatibility
11 if (!class_exists(TestCase::class)) {
12 class_alias(PHPUnit_Framework_TestCase::class, TestCase::class);
14 if (!trait_exists(TestCaseTrait::class)) {
15 class_alias(PHPUnit_Extensions_Database_TestCase_Trait::class, TestCaseTrait::class);
17 if (!class_exists(YamlDataSet::class)) {
18 class_alias(PHPUnit_Extensions_Database_DataSet_YamlDataSet::class, YamlDataSet::class);