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

AlertSuccessTest   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\AlertSuccess;
6
7
class AlertSuccessTest extends \PHPUnit_Framework_TestCase {
8
9
	public function testGetType() {
10
		$instance = new AlertSuccess('My Success msg');
11
		$this->assertEquals('success', $instance->type);
12
	}
13
14
}
15