Add tests for RequestStack class
minor #10326 [HttpFoundation][Tests] Add tests for RequestStack class (inalgnu)

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

Discussion
----------

[HttpFoundation][Tests] Add tests for RequestStack class

| 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
-------

6f25d39 [HttpFoundation][Tests] Add tests for RequestStack class
[HttpKernel] fixed CS
[HttpFoundation] removed test file not related to 2.3
minor #10372 [HttpKernel] fixed CS (fabpot)

This PR was merged into the 2.3 branch.

Discussion
----------

[HttpKernel] fixed CS

Commits
-------

7539e41 [HttpKernel] fixed CS
Merge branch '2.3' into 2.4

* 2.3:
  [HttpFoundation] removed test file not related to 2.3
  [HttpKernel] fixed CS
  Add tests for RequestStack class
Revert "[HttpFoundation] removed test file not related to 2.3"

This reverts commit 60ed3880d70b3051ba6b6de30c2b7737ad3ea46e.