Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Checks an assertion
<?php assert(mixed $assertion, Throwable|string|null $description = null): bool
<?php     public function processNextEvent($handler): bool

    {

        [$event, $context] = $this->waitNextInvocation();

        \assert($context instanceof Context);



        $this->ping();
<?php     ): void {

        $uploadedFiles = $this->request->getUploadedFiles();

        $uploadedFile = $uploadedFiles[$key];

        \assert($uploadedFile instanceof UploadedFileInterface);

        $this->assertEquals($filename, $uploadedFile->getClientFilename());

        $this->assertEquals($mimeType, $uploadedFile->getClientMediaType());

        $this->assertEquals($error, $uploadedFile->getError());