From 6af09379648fdd981fce7ab59fa6f9c55db3ebae Mon Sep 17 00:00:00 2001 From: Hayden Pierce Date: Sun, 21 Oct 2018 09:14:41 -0500 Subject: [PATCH] Add a test case --- test/app1/files/files2.php | 5 +++++ test/app1/src/FilesTest.php | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/test/app1/files/files2.php b/test/app1/files/files2.php index 6232a58..c4bc361 100644 --- a/test/app1/files/files2.php +++ b/test/app1/files/files2.php @@ -5,6 +5,11 @@ namespace TestApp1\FilesClasses; class Cam {} class Lam {} +namespace TestApp1\FilesClasses\MoreClasses; + +class Pham {} +class Slam {} + namespace TestApp1\RedHerring; class RedHerring {} diff --git a/test/app1/src/FilesTest.php b/test/app1/src/FilesTest.php index fbd112f..3b8efd0 100644 --- a/test/app1/src/FilesTest.php +++ b/test/app1/src/FilesTest.php @@ -42,6 +42,14 @@ class FilesTest extends \PHPUnit_Framework_TestCase 'TestApp1\FilesClasses\Lam', ), 'ClassFinder should be able to find 1st party classes included from `files` listed in composer.json.' + ), + array( + 'TestApp1\FilesClasses\MoreClasses', + array( + 'TestApp1\FilesClasses\MoreClasses\Pham', + 'TestApp1\FilesClasses\MoreClasses\Slam' + ), + 'ClassFinder should be able to find 1st party classes included from `files` listed in composer.json.' ) ); }