diff --git a/app/code/Magento/Theme/Test/Unit/Model/Theme/Plugin/RegistrationTest.php b/app/code/Magento/Theme/Test/Unit/Model/Theme/Plugin/RegistrationTest.php
index a71055776977cfd9aa7d8f654c42b0f6a09128c3..53a569f01b72a29c1b989162e41d0e18b228b628 100644
--- a/app/code/Magento/Theme/Test/Unit/Model/Theme/Plugin/RegistrationTest.php
+++ b/app/code/Magento/Theme/Test/Unit/Model/Theme/Plugin/RegistrationTest.php
@@ -56,6 +56,7 @@ class RegistrationTest extends \PHPUnit_Framework_TestCase
     /**
      * @param bool $hasParentTheme
      * @dataProvider dataProviderBeforeDispatch
+     * @SuppressWarnings(PHPMD.NPathComplexity)
      */
     public function testBeforeDispatch(
         $hasParentTheme