Skip to content

Commit

Permalink
Added tests for Container's CookieNotFoundException.
Browse files Browse the repository at this point in the history
  • Loading branch information
SidRoberts committed Sep 11, 2023
1 parent ed04c7a commit 152f041
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions tests/Unit/Container/Exception/CookieNotFoundExceptionCest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?php

namespace Tests\Unit\Container\Exception;

use Centum\Container\Exception\CookieNotFoundException;
use Tests\Support\UnitTester;

/**
* @covers \Centum\Container\Exception\CookieNotFoundException
*/
class CookieNotFoundExceptionCest
{
public function test(UnitTester $I): void
{
$name = "username";

$exception = new CookieNotFoundException($name);

$I->assertEquals(
$name,
$exception->getName()
);
}
}

0 comments on commit 152f041

Please sign in to comment.