FauxRequest: Add unit tests to expand code coverage
authorTimo Tijhof <krinklemail@gmail.com>
Fri, 9 Sep 2016 02:37:37 +0000 (19:37 -0700)
committerTimo Tijhof <krinklemail@gmail.com>
Fri, 9 Sep 2016 02:37:37 +0000 (19:37 -0700)
commitd18d030d57b88e190a87c50aeccf694986a800f7
treea5681b7ae324fcef0f58dd9d86f3e490d6416ae0
parent79c90907d6de4a02988f7d7bf5f5ec0cb4bf1bfb
FauxRequest: Add unit tests to expand code coverage

* Remove @covers for methods that don't exist (parent class).
* Fix coverage for initHeaders() and setHeaders().
* Add tests and coverage for all other methods.

Change-Id: Id9b6de31843d2e87c54f485beb4fbcbe6f4bf8f6
includes/FauxRequest.php
tests/phpunit/includes/FauxRequestTest.php