diff --git a/dev/tests/integration/testsuite/Magento/Webapi/Model/ServiceMetadataTest.php b/dev/tests/integration/testsuite/Magento/Webapi/Model/ServiceMetadataTest.php
index 78748e84c113117856a4dbc2a9b3858cc3f7a278..37bbd10363ef597d38c9b2327a8eea0e4df94715 100644
--- a/dev/tests/integration/testsuite/Magento/Webapi/Model/ServiceMetadataTest.php
+++ b/dev/tests/integration/testsuite/Magento/Webapi/Model/ServiceMetadataTest.php
@@ -58,7 +58,7 @@ class ServiceMetadataTest extends \PHPUnit_Framework_TestCase
                                 ]
                             ],
                             'throws' => [
-                                '\Magento\Framework\Exception\LocalizedException'
+                                \Magento\Framework\Exception\LocalizedException::class
                             ]
                         ]
                     ]
@@ -107,7 +107,7 @@ class ServiceMetadataTest extends \PHPUnit_Framework_TestCase
                                 ]
                             ],
                             'throws' => [
-                                '\Magento\Framework\Exception\LocalizedException'
+                                \Magento\Framework\Exception\LocalizedException::class
                             ]
                         ]
                     ]
diff --git a/dev/tests/integration/testsuite/Magento/Webapi/Model/Soap/ConfigTest.php b/dev/tests/integration/testsuite/Magento/Webapi/Model/Soap/ConfigTest.php
index 9625803339fa6a4646ec8e6fe6217676541b2846..8b016fe35fc95f6b0d59e6d6e7c468acc62a80fa 100644
--- a/dev/tests/integration/testsuite/Magento/Webapi/Model/Soap/ConfigTest.php
+++ b/dev/tests/integration/testsuite/Magento/Webapi/Model/Soap/ConfigTest.php
@@ -62,7 +62,7 @@ class ConfigTest extends \PHPUnit_Framework_TestCase
                                     ]
                                 ],
                                 'throws' => [
-                                    '\Magento\Framework\Exception\LocalizedException'
+                                    \Magento\Framework\Exception\LocalizedException::class
                                 ]
                             ]
                         ]