safe-collections/tests/ExampleClassTest.php
Chicory ☕ 18b7bdeb60
All checks were successful
Run code tests / Run-code-test (push) Successful in 1m1s
Initial commit
2024-10-29 09:53:57 +01:00

28 lines
570 B
PHP

<?php
declare(strict_types=1);
namespace Chicory\Tests\PackageTemplate;
use Chicory\PackageTemplate\ExampleClass;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\TestCase;
#[CoversClass(ExampleClass::class)]
class ExampleClassTest extends TestCase
{
public ExampleClass $exampleClass;
protected function setUp(): void
{
$this->exampleClass = new ExampleClass();
parent::setUp();
}
public function testExampleClass(): void
{
$this->assertEquals('Hello', $this->exampleClass->sayHello());
}
}