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