-
Notifications
You must be signed in to change notification settings - Fork 65
Expand file tree
/
Copy pathPHPUnitClassName.php
More file actions
36 lines (23 loc) · 1.1 KB
/
PHPUnitClassName.php
File metadata and controls
36 lines (23 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
declare(strict_types=1);
namespace Rector\PHPUnit\Enum;
final class PHPUnitClassName
{
public const string TEST_CASE = 'PHPUnit\Framework\TestCase';
/**
* @api might be used in public
*/
public const string TEST_CASE_LEGACY = 'PHPUnit_Framework_TestCase';
public const string ASSERT = 'PHPUnit\Framework\Assert';
public const string INVOCATION_ORDER = 'PHPUnit\Framework\MockObject\Rule\InvocationOrder';
public const string INVOCATION_MOCKER = 'PHPUnit\Framework\MockObject\Builder\InvocationMocker';
public const string INVOCATION_STUBBER = 'PHPUnit\Framework\MockObject\InvocationStubber';
public const string TEST_LISTENER = 'PHPUnit\Framework\TestListener';
public const string MOCK_OBJECT = 'PHPUnit\Framework\MockObject\MockObject';
public const string STUB = 'PHPUnit\Framework\MockObject\Stub';
public const string SYMFONY_CONSTRAINT_VALIDATOR_TEST_CASE = 'Symfony\Component\Validator\Test\ConstraintValidatorTestCase';
/**
* @var string[]
*/
public const array TEST_CLASSES = [self::TEST_CASE, self::TEST_CASE_LEGACY];
}