Newer
Older

Yassine Doghri
committed
declare(strict_types=1);

Yassine Doghri
committed
namespace Tests\Session;
use Tests\Support\SessionTestCase;

Yassine Doghri
committed
class ExampleSessionTest extends SessionTestCase
protected function setUp(): void

Yassine Doghri
committed
{
parent::setUp();
}

Yassine Doghri
committed
public function testSessionSimple(): void

Yassine Doghri
committed
{
$this->session->set('logged_in', 123);

Yassine Doghri
committed
$value = $this->session->get('logged_in');
$this->assertSame(123, $value);

Yassine Doghri
committed
}