@@ -35,7 +35,7 @@ protected function tearDown(): void
35
35
public function testAddObjectInitializer ()
36
36
{
37
37
$ this ->assertSame ($ this ->builder , $ this ->builder ->addObjectInitializer (
38
- $ this ->getMockBuilder (' Symfony\Component\Validator\ObjectInitializerInterface ' )->getMock ()
38
+ $ this ->getMockBuilder (\ Symfony \Component \Validator \ObjectInitializerInterface::class )->getMock ()
39
39
));
40
40
}
41
41
@@ -92,14 +92,14 @@ public function testSetMappingCache()
92
92
public function testSetConstraintValidatorFactory ()
93
93
{
94
94
$ this ->assertSame ($ this ->builder , $ this ->builder ->setConstraintValidatorFactory (
95
- $ this ->getMockBuilder (' Symfony\Component\Validator\ConstraintValidatorFactoryInterface ' )->getMock ())
95
+ $ this ->getMockBuilder (\ Symfony \Component \Validator \ConstraintValidatorFactoryInterface::class )->getMock ())
96
96
);
97
97
}
98
98
99
99
public function testSetTranslator ()
100
100
{
101
101
$ this ->assertSame ($ this ->builder , $ this ->builder ->setTranslator (
102
- $ this ->getMockBuilder (' Symfony\Contracts\Translation\TranslatorInterface ' )->getMock ())
102
+ $ this ->getMockBuilder (\ Symfony \Contracts \Translation \TranslatorInterface::class )->getMock ())
103
103
);
104
104
}
105
105
@@ -110,6 +110,6 @@ public function testSetTranslationDomain()
110
110
111
111
public function testGetValidator ()
112
112
{
113
- $ this ->assertInstanceOf (' Symfony\Component\Validator\Validator\RecursiveValidator ' , $ this ->builder ->getValidator ());
113
+ $ this ->assertInstanceOf (\ Symfony \Component \Validator \Validator \RecursiveValidator::class , $ this ->builder ->getValidator ());
114
114
}
115
115
}
0 commit comments