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