mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-25 17:45:35 +03:00
Rename Validator\Validator to Validator\GenericValidator
This commit is contained in:
@@ -6,19 +6,19 @@ namespace Ramsey\Uuid\Test\Validator;
|
||||
|
||||
use PHPUnit\Framework\MockObject\MockObject;
|
||||
use Ramsey\Uuid\Test\TestCase;
|
||||
use Ramsey\Uuid\Validator\Validator;
|
||||
use Ramsey\Uuid\Validator\GenericValidator;
|
||||
|
||||
class ValidatorTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* @var MockObject & Validator
|
||||
* @var MockObject & GenericValidator
|
||||
*/
|
||||
private $validator = null;
|
||||
|
||||
public function setUp(): void
|
||||
{
|
||||
// Disable calls to the constructor, but do not override any methods.
|
||||
$this->validator = $this->getMockBuilder(Validator::class)
|
||||
$this->validator = $this->getMockBuilder(GenericValidator::class)
|
||||
->disableOriginalConstructor()
|
||||
->onlyMethods([])
|
||||
->getMock();
|
||||
|
||||
Reference in New Issue
Block a user