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