Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding an extra unit test for Configuration.

  • Loading branch information...
commit a6e4b55f76d438ddc0d5c668d9a865a5d270f1af 1 parent 7f08f8e
@zyxist zyxist authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 tests/TestSuite/Toolset/ConfigurationTest.php
View
8 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()
Please sign in to comment.
Something went wrong with that request. Please try again.