Change-Id: Ib909c4f694b9774a0983abbb23bfd38ed8c05d5b
*/
public function testClosureExpansionDisabled() {
$obj = ObjectFactory::getObjectFromSpec( array(
*/
public function testClosureExpansionDisabled() {
$obj = ObjectFactory::getObjectFromSpec( array(
- 'class' => 'ObjectFactoryTest_Fixture',
+ 'class' => 'ObjectFactoryTestFixture',
'args' => array( function() {
return 'unwrapped';
}, ),
'args' => array( function() {
return 'unwrapped';
}, ),
*/
public function testClosureExpansionEnabled() {
$obj = ObjectFactory::getObjectFromSpec( array(
*/
public function testClosureExpansionEnabled() {
$obj = ObjectFactory::getObjectFromSpec( array(
- 'class' => 'ObjectFactoryTest_Fixture',
+ 'class' => 'ObjectFactoryTestFixture',
'args' => array( function() {
return 'unwrapped';
}, ),
'args' => array( function() {
return 'unwrapped';
}, ),
$this->assertSame( 'unwrapped', $obj->setterArgs[0] );
$obj = ObjectFactory::getObjectFromSpec( array(
$this->assertSame( 'unwrapped', $obj->setterArgs[0] );
$obj = ObjectFactory::getObjectFromSpec( array(
- 'class' => 'ObjectFactoryTest_Fixture',
+ 'class' => 'ObjectFactoryTestFixture',
'args' => array( function() {
return 'unwrapped';
}, ),
'args' => array( function() {
return 'unwrapped';
}, ),
-class ObjectFactoryTest_Fixture {
+class ObjectFactoryTestFixture {
public $args;
public $setterArgs;
public function __construct( /*...*/ ) {
public $args;
public $setterArgs;
public function __construct( /*...*/ ) {