phpunit: Add @covers to ObjectFactoryTest
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 17 Aug 2016 16:11:51 +0000 (09:11 -0700)
committerTimo Tijhof <krinklemail@gmail.com>
Wed, 17 Aug 2016 16:11:51 +0000 (09:11 -0700)
commit6bb00b92bbbf15359a770f26cd3dab5fb0d16ccd
tree152554f7679ed86d5495df4bb71d4d441f98cce2
parent634e8444a4062d9b9aafbc67e6622ff75ee40c96
phpunit: Add @covers to ObjectFactoryTest

* expandClosures() wasn't covered at all.
  Make the test dedicated to this feature cover that method.

* constructClassInstance() coverage was almost complete except for
  the exception case. This was covered in a separate test, but it
  was missing its @covers tag.

Change-Id: I73252849a92440fd7ae2c44f9ca58f7bf9c1f92c
tests/phpunit/includes/libs/ObjectFactoryTest.php