Completed
Push — master ( d749c2...317d6d )
by mw
36:25 queued 10:28
created

TelephoneUriValueTest::testCanConstruct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 12
Code Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 7
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 12
rs 9.4285
1
<?php
2
3
namespace SMW\Tests\DataValues;
4
5
use SMW\DataValues\TelephoneUriValue;
6
7
/**
8
 * @covers \SMW\DataValues\TelephoneUriValue
9
 * @group semantic-mediawiki
10
 *
11
 * @license GNU GPL v2+
12
 * @since 2.4
13
 *
14
 * @author mwjames
15
 */
16
class TelephoneUriValueTest extends \PHPUnit_Framework_TestCase {
17
18
	public function testCanConstruct() {
19
20
		$this->assertInstanceOf(
21
			'\SMW\DataValues\TelephoneUriValue',
22
			new TelephoneUriValue()
23
		);
24
25
		$this->assertInstanceOf(
26
			'\SMWURIValue',
27
			new TelephoneUriValue()
28
		);
29
	}
30
}
31