@@ -15,7 +15,7 @@ public function testUnitEnumNative()
1515 static ::assertTrue (enum_exists (__FUNCTION__ ));
1616 }
1717
18- public function testUnitEnumEmulated ()
18+ public function testEmulatedUnitEnum ()
1919 {
2020 if (PHP_VERSION_ID >= 80100 ) {
2121 $ this ->markTestSkipped ('This test is for PHP < 8.1 only ' );
@@ -25,23 +25,23 @@ public function testUnitEnumEmulated()
2525 static ::assertTrue (enum_exists (__FUNCTION__ ));
2626 }
2727
28- public function testIntBackedEnumEmulated ()
28+ public function testEmulatedIntEnum ()
2929 {
3030 if (PHP_VERSION_ID >= 80100 ) {
3131 $ this ->markTestSkipped ('This test is for PHP < 8.1 only ' );
3232 }
3333
34- eval ('final class ' . __FUNCTION__ . ' extends Mabe\Enum\Cl\IntBackedEnum {} ' );
34+ eval ('final class ' . __FUNCTION__ . ' extends Mabe\Enum\Cl\EmulatedIntEnum {} ' );
3535 static ::assertTrue (enum_exists (__FUNCTION__ ));
3636 }
3737
38- public function testStringBackedEnumEmulated ()
38+ public function testEmulatedStringEnum ()
3939 {
4040 if (PHP_VERSION_ID >= 80100 ) {
4141 $ this ->markTestSkipped ('This test is for PHP < 8.1 only ' );
4242 }
4343
44- eval ('final class ' . __FUNCTION__ . ' extends Mabe\Enum\Cl\StringBackedEnum {} ' );
44+ eval ('final class ' . __FUNCTION__ . ' extends Mabe\Enum\Cl\EmulatedStringEnum {} ' );
4545 static ::assertTrue (enum_exists (__FUNCTION__ ));
4646 }
4747
@@ -102,7 +102,7 @@ public function testAutoloadTrue()
102102 $ classLoader = function (string $ class ) use ($ enumClass , &$ called ) {
103103 if ($ class === $ enumClass ) {
104104 $ called ++;
105- eval ('final class ' . $ class . ' extends Mabe\Enum\Cl\StringBackedEnum {} ' );
105+ eval ('final class ' . $ class . ' extends Mabe\Enum\Cl\EmulatedStringEnum {} ' );
106106 }
107107 };
108108
0 commit comments