From e774a8a779d48d709b54a8105677f1ec88ed71b8 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Mon, 10 Nov 2014 18:03:54 -0800 Subject: [PATCH] Add @covers tags to ObjectFactoryTest Change-Id: I0130b133ef8261e43082d90b08cf2b9abf64ffc9 --- tests/phpunit/includes/libs/ObjectFactoryTest.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/phpunit/includes/libs/ObjectFactoryTest.php b/tests/phpunit/includes/libs/ObjectFactoryTest.php index 1f88b12cf5..8c2f12c410 100644 --- a/tests/phpunit/includes/libs/ObjectFactoryTest.php +++ b/tests/phpunit/includes/libs/ObjectFactoryTest.php @@ -21,6 +21,9 @@ class ObjectFactoryTest extends PHPUnit_Framework_TestCase { + /** + * @covers ObjectFactory::getObjectFromSpec + */ public function testClosureExpansionDisabled() { $obj = ObjectFactory::getObjectFromSpec( array( 'class' => 'ObjectFactoryTest_Fixture', @@ -31,6 +34,9 @@ class ObjectFactoryTest extends PHPUnit_Framework_TestCase { $this->assertSame( 'unwrapped', $obj->args[0]() ); } + /** + * @covers ObjectFactory::getObjectFromSpec + */ public function testClosureExpansionEnabled() { $obj = ObjectFactory::getObjectFromSpec( array( 'class' => 'ObjectFactoryTest_Fixture', -- 2.20.1