#[Package('business-ops')]
class CustomAppStorerTest extends TestCase
{ private CustomAppStorer
$customAppStorer;
private Context
$context;
protected function setUp(): void
{ $this->context = Context::
createDefaultContext();
$this->customAppStorer =
new CustomAppStorer();
} public function testStoreWithAwareAndEmptyCustomData(): void
{ $event =
new CustomAppEvent('custom_app_event',
[],
$this->context
);
$stored =
[];
$stored =
$this->customAppStorer->
store($event,
$stored);
static::
assertEmpty($stored);
}