gplx/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Exception/PredefinedPropertyLabelMism...

33 lines
677 B
PHP

<?php
namespace SMW\Tests\Exception;
use SMW\Exception\PredefinedPropertyLabelMismatchException;
/**
* @covers \SMW\Exception\PredefinedPropertyLabelMismatchException
* @group semantic-mediawiki
*
* @license GPL-2.0-or-later
* @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
);
}
}