class ObjectFactoryTest extends PHPUnit_Framework_TestCase {
+ /**
+ * @covers ObjectFactory::getObjectFromSpec
+ */
public function testClosureExpansionDisabled() {
$obj = ObjectFactory::getObjectFromSpec( array(
'class' => 'ObjectFactoryTest_Fixture',
$this->assertSame( 'unwrapped', $obj->args[0]() );
}
+ /**
+ * @covers ObjectFactory::getObjectFromSpec
+ */
public function testClosureExpansionEnabled() {
$obj = ObjectFactory::getObjectFromSpec( array(
'class' => 'ObjectFactoryTest_Fixture',