From cba1ba59db311effb099c88f4cb9d624d070c0c1 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 16 Aug 2006 03:29:57 +0000 Subject: [PATCH] Add testLoadBadModule() --- UnitTest/LoaderTest.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/UnitTest/LoaderTest.php b/UnitTest/LoaderTest.php index a3f2f62..2c36418 100644 --- a/UnitTest/LoaderTest.php +++ b/UnitTest/LoaderTest.php @@ -49,6 +49,12 @@ class LoaderTest extends UnitTestCase { $this->assertEqual(get_class(BSLoader::LoadModule('Input')), 'BSInput'); } + + public function testLoadBadModule() + { + BSLoader::LoadModule('nonExistentModule'); + $this->assertError(); + } } ?> \ No newline at end of file -- 2.22.5