Rename ObjectFactoryTest_Fixture to camel case name
authorumherirrender <umherirrender_de.wp@web.de>
Sat, 3 Oct 2015 19:29:17 +0000 (21:29 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Sat, 3 Oct 2015 19:29:17 +0000 (21:29 +0200)
Change-Id: Ib909c4f694b9774a0983abbb23bfd38ed8c05d5b

tests/phpunit/includes/libs/ObjectFactoryTest.php

index aea037e..577dc3c 100644 (file)
@@ -25,7 +25,7 @@ class ObjectFactoryTest extends PHPUnit_Framework_TestCase {
         */
        public function testClosureExpansionDisabled() {
                $obj = ObjectFactory::getObjectFromSpec( array(
-                       'class' => 'ObjectFactoryTest_Fixture',
+                       'class' => 'ObjectFactoryTestFixture',
                        'args' => array( function() {
                                return 'unwrapped';
                        }, ),
@@ -47,7 +47,7 @@ class ObjectFactoryTest extends PHPUnit_Framework_TestCase {
         */
        public function testClosureExpansionEnabled() {
                $obj = ObjectFactory::getObjectFromSpec( array(
-                       'class' => 'ObjectFactoryTest_Fixture',
+                       'class' => 'ObjectFactoryTestFixture',
                        'args' => array( function() {
                                return 'unwrapped';
                        }, ),
@@ -64,7 +64,7 @@ class ObjectFactoryTest extends PHPUnit_Framework_TestCase {
                $this->assertSame( 'unwrapped', $obj->setterArgs[0] );
 
                $obj = ObjectFactory::getObjectFromSpec( array(
-                       'class' => 'ObjectFactoryTest_Fixture',
+                       'class' => 'ObjectFactoryTestFixture',
                        'args' => array( function() {
                                return 'unwrapped';
                        }, ),
@@ -81,7 +81,7 @@ class ObjectFactoryTest extends PHPUnit_Framework_TestCase {
        }
 }
 
-class ObjectFactoryTest_Fixture {
+class ObjectFactoryTestFixture {
        public $args;
        public $setterArgs;
        public function __construct( /*...*/ ) {