Completed
Push — add/error-package ( 1f67a0 )
by Marin
10:15
created

Test_Error::test_jetpack_error()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
use Automattic\Jetpack\Error;
4
use PHPUnit\Framework\TestCase;
5
6
class Test_Error extends TestCase {
7
	function test_jetpack_error() {
8
		$error = new Error();
9
		$this->assertInstanceOf( '\\WP_Error', $error );
10
	}
11
}
12
13
class WP_Error {}