Permalink
Browse files

Adding an extra unit test for Configuration.

  • Loading branch information...
1 parent 7f08f8e commit a6e4b55f76d438ddc0d5c668d9a865a5d270f1af @zyxist zyxist committed Jul 9, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0 tests/TestSuite/Toolset/ConfigurationTest.php
@@ -109,6 +109,14 @@ public function testLoadNoHeadings()
} // end testLoadNoHeadings();
/**
+ * @expectedException Opl\Autoloader\Exception\FileNotFoundException
+ */
+ public function testExceptionIfFileDoesNotExist()
+ {
+ $configuration = new Configuration('./data/configs/doesNotExist.xml');
+ } // end testExceptionIfFileDoesNotExist();
+
+ /**
* @expectedException Opl\Autoloader\Exception\FileFormatException
*/
public function testLoadInvalidFile()

0 comments on commit a6e4b55

Please sign in to comment.