diff options
Diffstat (limited to 'www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Unit/Exception/SettingNotFoundExceptionTest.php')
-rw-r--r-- | www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Unit/Exception/SettingNotFoundExceptionTest.php | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Unit/Exception/SettingNotFoundExceptionTest.php b/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Unit/Exception/SettingNotFoundExceptionTest.php new file mode 100644 index 00000000..5d920793 --- /dev/null +++ b/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Unit/Exception/SettingNotFoundExceptionTest.php @@ -0,0 +1,33 @@ +<?php + +namespace SMW\Tests\Exception; + +use SMW\Exception\SettingNotFoundException; + +/** + * @covers \SMW\Exception\SettingNotFoundException + * @group semantic-mediawiki + * + * @license GNU GPL v2+ + * @since 2.5 + * + * @author mwjames + */ +class SettingNotFoundExceptionTest extends \PHPUnit_Framework_TestCase { + + public function testCanConstruct() { + + $instance = new SettingNotFoundException(); + + $this->assertInstanceof( + '\SMW\Exception\SettingNotFoundException', + $instance + ); + + $this->assertInstanceof( + '\RuntimeException', + $instance + ); + } + +} |