You've already forked php-flasher
mirror of
https://github.com/php-flasher/php-flasher.git
synced 2026-04-05 12:32:55 +01:00
30 lines
572 B
PHP
30 lines
572 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Flasher\Tests\Prime\Stamp;
|
|
|
|
use Flasher\Prime\Stamp\DelayStamp;
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
final class DelayStampTest extends TestCase
|
|
{
|
|
private int $testDelay;
|
|
private DelayStamp $instance;
|
|
|
|
protected function setUp(): void
|
|
{
|
|
parent::setUp();
|
|
|
|
$this->testDelay = 100;
|
|
$this->instance = new DelayStamp($this->testDelay);
|
|
}
|
|
|
|
public function testGetDelay(): void
|
|
{
|
|
$delay = $this->instance->getDelay();
|
|
|
|
$this->assertSame($this->testDelay, $delay);
|
|
}
|
|
}
|