generated from chicory/package-template
Chicory ☕
18b7bdeb60
All checks were successful
Run code tests / Run-code-test (push) Successful in 1m1s
28 lines
570 B
PHP
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());
|
|
}
|
|
}
|