30 lines
517 B
PHP
30 lines
517 B
PHP
<?php
|
|
|
|
namespace SMW\Tests\DataValues;
|
|
|
|
use SMW\DataValues\TelephoneUriValue;
|
|
|
|
/**
|
|
* @covers \SMW\DataValues\TelephoneUriValue
|
|
* @group semantic-mediawiki
|
|
*
|
|
* @license GPL-2.0-or-later
|
|
* @since 2.4
|
|
*
|
|
* @author mwjames
|
|
*/
|
|
class TelephoneUriValueTest extends \PHPUnit\Framework\TestCase {
|
|
|
|
public function testCanConstruct() {
|
|
$this->assertInstanceOf(
|
|
'\SMW\DataValues\TelephoneUriValue',
|
|
new TelephoneUriValue()
|
|
);
|
|
|
|
$this->assertInstanceOf(
|
|
'\SMWURIValue',
|
|
new TelephoneUriValue()
|
|
);
|
|
}
|
|
}
|