for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
use PHPUnit\Framework\TestCase;
class SessionTest extends TestCase
{
public static function setUpBeforeClass()
}
public static function tearDownAfterClass()
protected function setUp()
protected function tearDown()
// tests
public function testSomeFeature()
Session::set('foo', 'bar');
$this->assertEquals('bar', Session::get('foo'));
//$this->expectException(InvalidArgumentException::class);