chandler/tests/Chandler/Eventing/Events/EventTest.php
Ilya Bakhlin 11e11add72 Set Up PHPUnit
Closes chandler-1.
2021-12-25 22:24:27 +01:00

46 lines
884 B
PHP

<?php
declare(strict_types = 1);
namespace Chandler\Tests\Chandler\Eventing\Events;
use Chandler\Eventing\Events\Event;
use PHPUnit\Framework\TestCase;
/**
* @package Chandler\Tests\Chandler\Eventing\Events
*/
class EventTest extends TestCase
{
/**
* @return void
*/
public function testPropertyCode(): void
{
$this->assertClassHasAttribute("code", Event::class);
}
/**
* @return void
*/
public function testPropertyData(): void
{
$this->assertClassHasAttribute("data", Event::class);
}
/**
* @return void
*/
public function testPropertyPristine(): void
{
$this->assertClassHasAttribute("pristine", Event::class);
}
/**
* @return void
*/
public function testPropertyTime(): void
{
$this->assertClassHasAttribute("time", Event::class);
}
}