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

TelephoneUriValueTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 15
rs 10
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A testCanConstruct() 0 12 1
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