diff --git a/Magento2/Tests/PHP/LiteralNamespacesUnitTest.inc b/Magento2/Tests/PHP/LiteralNamespacesUnitTest.inc new file mode 100644 index 00000000..d6880b37 --- /dev/null +++ b/Magento2/Tests/PHP/LiteralNamespacesUnitTest.inc @@ -0,0 +1,14 @@ +create(Magento\CustomerSegment\Model\Segment\Condition\Customer\Address::class); + } + + public function notOk() + { + $this->create('Magento\CustomerSegment\Model\Segment\Condition\Customer\Address'); + } +} diff --git a/Magento2/Tests/PHP/LiteralNamespacesUnitTest.php b/Magento2/Tests/PHP/LiteralNamespacesUnitTest.php new file mode 100644 index 00000000..9a22dace --- /dev/null +++ b/Magento2/Tests/PHP/LiteralNamespacesUnitTest.php @@ -0,0 +1,32 @@ + 1, + ]; + } +}