for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace AbterPhp\Framework\Email;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Mime\Email;
class MessageFactoryTest extends TestCase
{
/** @var MessageFactory - System Under Test */
protected MessageFactory $sut;
public function setUp(): void
parent::setUp();
$this->sut = new MessageFactory();
}
public function testCreate(): void
$subject = 'foo';
$subject
$actualResult = $this->sut->create();
$this->assertInstanceOf(Email::class, $actualResult);