diff --git a/DrdPlus/Tests/Codes/GetCodeClassesTrait.php b/DrdPlus/Tests/Codes/GetCodeClassesTrait.php
index <HASH>..<HASH> 100644
--- a/DrdPlus/Tests/Codes/GetCodeClassesTrait.php
+++ b/DrdPlus/Tests/Codes/GetCodeClassesTrait.php
@@ -34,7 +34,7 @@ trait GetCodeClassesTrait
      * @param string $rootNamespace
      * @return array
      */
-    private function scanForCodeClasses(string $rootDir, string $rootNamespace): array
+    protected function scanForCodeClasses(string $rootDir, string $rootNamespace): array
     {
         $codeClasses = [];
         foreach (scandir($rootDir) as $folder) {
Method to find code classes in a given directory can be used by descendants