Passed
Branch master (71c281)
by Wanderson
01:19
created

AlertErrorTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 8
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1
1
<?php
2
3
namespace Win\Alert;
4
5
use Win\Alert\AlertError;
6
7
class AlertErrorTest extends \PHPUnit_Framework_TestCase {
8
9
	public function testGetType() {
10
		$instance = new AlertError('My Error msg');
11
		$this->assertEquals('danger', $instance->type);
12
	}
13
14
}
15