Completed
Push — master ( aead67...02aeb8 )
by mw
171:27 queued 136:23
created

testCanConstruct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 14
Code Lines 8

Duplication

Lines 0
Ratio 0 %

Importance

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