add expression request matcher tests
minor #10322 [HttpFoundation][Tests] Add expression request matcher tests (inalgnu)

This PR was submitted for the 2.4-dev branch but it was merged into the 2.4 branch instead (closes #10322).

Discussion
----------

[HttpFoundation][Tests] Add expression request matcher tests

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

Commits
-------

76fe21d [HttpFoundation][Tests] add expression request matcher tests
[HttpKernel] fixed unit tests when using phpunit.phar
minor #10369 [HttpKernel] fixed unit tests when using phpunit.phar (fabpot)

This PR was merged into the 2.4 branch.

Discussion
----------

[HttpKernel] fixed unit tests when using phpunit.phar

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

Commits
-------

0edb192 [HttpKernel] fixed unit tests when using phpunit.phar
Merge branch '2.4'

* 2.4:
  [HttpKernel] fixed unit tests when using phpunit.phar
  add expression request matcher tests