class TemplateDataStorerTest extends TestCase
{ private TemplateDataStorer
$storer;
protected function setUp(): void
{ Feature::
skipTestIfActive('v6.6.0.0',
$this);
$this->storer =
new TemplateDataStorer();
} public function testStoreWithAware(): void
{ $event =
$this->
createMock(MailBeforeValidateEvent::
class);
$stored =
[];
$stored =
$this->storer->
store($event,
$stored);
static::
assertArrayHasKey(TemplateDataAware::TEMPLATE_DATA,
$stored);
} public function testStoreWithNotAware(): void
{