gplx/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Exception/StoreNotFoundExceptionTest.php

33 lines
556 B
PHP

<?php
namespace SMW\Tests\Exception;
use SMW\Exception\StoreNotFoundException;
/**
* @covers \SMW\Exception\StoreNotFoundException
* @group semantic-mediawiki
*
* @license GPL-2.0-or-later
* @since 2.5
*
* @author mwjames
*/
class StoreNotFoundExceptionTest extends \PHPUnit\Framework\TestCase {
public function testCanConstruct() {
$instance = new StoreNotFoundException();
$this->assertInstanceof(
'\SMW\Exception\StoreNotFoundException',
$instance
);
$this->assertInstanceof(
'\RuntimeException',
$instance
);
}
}