<?php
/**
- * @section LICENSE
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
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',