/**
* @internal
*
* @covers \Shopware\Core\Framework\Update\Event\UpdatePostFinishEvent
*/
class UpdatePostFinishEventTest extends TestCase
{ public function testGetters(): void
{ $context = Context::
createDefaultContext();
$event =
new UpdatePostFinishEvent($context, 'oldVersion', 'newVersion'
);
static::
assertSame('oldVersion',
$event->
getOldVersion());
static::
assertSame('newVersion',
$event->
getNewVersion());
static::
assertSame($context,
$event->
getContext());
}}