[HttpFoundation] fixed tests (refs #5175)
[HttpFoundation] fixed tests (refs #5175)


symfony/HttpFoundation,ygerasimov/HttpFoundation,mneuhaus/HttpFoundation,symfony/http-foundation,nichdu/HttpFoundation,oswaldderiemaecker/HttpFoundation