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

Test_Error   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A test_jetpack_error() 0 4 1
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 {}