for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Win\Alert;
use Win\Alert\AlertSuccess;
class AlertSuccessTest extends \PHPUnit_Framework_TestCase {
public function testGetType() {
$instance = new AlertSuccess('My Success msg');
$this->assertEquals('success', $instance->type);
}