File tree 1 file changed +3
-3
lines changed
lib/internal/Magento/Framework/Reflection/Test/Unit 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ protected function setUp()
27
27
28
28
public function testGetSetterMethodName ()
29
29
{
30
- $ class = new ClassReflection ("\\ Magento \\ Framework \\ Reflection \\ Test \\ Unit \\ DataObject " );
30
+ $ class = new ClassReflection (\ Magento \Framework \Reflection \Test \Unit \DataObject::class );
31
31
$ setterName = $ this ->nameFinder ->getSetterMethodName ($ class , 'AttrName ' );
32
32
$ this ->assertEquals ("setAttrName " , $ setterName );
33
33
@@ -43,7 +43,7 @@ public function testGetSetterMethodName()
43
43
*/
44
44
public function testGetSetterMethodNameInvalidAttribute ()
45
45
{
46
- $ class = new ClassReflection ("\\ Magento \\ Framework \\ Reflection \\ Test \\ Unit \\ DataObject " );
46
+ $ class = new ClassReflection (\ Magento \Framework \Reflection \Test \Unit \DataObject::class );
47
47
$ this ->nameFinder ->getSetterMethodName ($ class , 'InvalidAttribute ' );
48
48
}
49
49
@@ -55,7 +55,7 @@ public function testGetSetterMethodNameInvalidAttribute()
55
55
*/
56
56
public function testGetSetterMethodNameWrongCamelCasedAttribute ()
57
57
{
58
- $ class = new ClassReflection ("\\ Magento \\ Framework \\ Reflection \\ Test \\ Unit \\ DataObject " );
58
+ $ class = new ClassReflection (\ Magento \Framework \Reflection \Test \Unit \DataObject::class );
59
59
$ this ->nameFinder ->getSetterMethodName ($ class , 'ActivE ' );
60
60
}
61
61
You can’t perform that action at this time.
0 commit comments