summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Unit/SPARQLStore/Exception/HttpEndpointConnectionExceptionTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Unit/SPARQLStore/Exception/HttpEndpointConnectionExceptionTest.php')
-rw-r--r--www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Unit/SPARQLStore/Exception/HttpEndpointConnectionExceptionTest.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Unit/SPARQLStore/Exception/HttpEndpointConnectionExceptionTest.php b/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Unit/SPARQLStore/Exception/HttpEndpointConnectionExceptionTest.php
new file mode 100644
index 00000000..c0843f9e
--- /dev/null
+++ b/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Unit/SPARQLStore/Exception/HttpEndpointConnectionExceptionTest.php
@@ -0,0 +1,26 @@
+<?php
+
+namespace SMW\Tests\SPARQLStore\Exception;
+
+use SMW\SPARQLStore\Exception\HttpEndpointConnectionException;
+
+/**
+ * @covers \SMW\SPARQLStore\Exception\HttpEndpointConnectionException
+ * @group semantic-mediawiki
+ *
+ * @license GNU GPL v2+
+ * @since 2.0
+ *
+ * @author mwjames
+ */
+class HttpEndpointConnectionExceptionTest extends \PHPUnit_Framework_TestCase {
+
+ public function testCanConstruct() {
+
+ $this->assertInstanceOf(
+ HttpEndpointConnectionException::class,
+ new HttpEndpointConnectionException( 'Foo', 'Bar', 'Que' )
+ );
+ }
+
+}