MediaWiki  1.28.0
ObjectFactoryTest Class Reference
Inheritance diagram for ObjectFactoryTest:
Collaboration diagram for ObjectFactoryTest:

Public Member Functions

 testClosureExpansionDisabled ()
 ObjectFactory::getObjectFromSpec. More...
 
 testClosureExpansionEnabled ()
 ObjectFactory::getObjectFromSpec ObjectFactory::expandClosures. More...
 
 testConstructClassInstance ($args)
 ObjectFactory::constructClassInstance provideConstructClassInstance. More...
 
 testGetObjectFromClass ($args)
 ObjectFactory::getObjectFromSpec provideConstructClassInstance. More...
 
 testGetObjectFromFactory ()
 ObjectFactory::getObjectFromSpec. More...
 
 testGetObjectFromInvalid ()
 ObjectFactory::getObjectFromSpec InvalidArgumentException. More...
 
 testNamedArgs ()
 ObjectFactory::constructClassInstance InvalidArgumentException. More...
 

Static Public Member Functions

static provideConstructClassInstance ()
 

Detailed Description

Definition at line 21 of file ObjectFactoryTest.php.

Member Function Documentation

static ObjectFactoryTest::provideConstructClassInstance ( )
static

Definition at line 133 of file ObjectFactoryTest.php.

ObjectFactoryTest::testClosureExpansionDisabled ( )
ObjectFactoryTest::testClosureExpansionEnabled ( )
ObjectFactoryTest::testConstructClassInstance (   $args)

ObjectFactory::constructClassInstance provideConstructClassInstance.

Definition at line 126 of file ObjectFactoryTest.php.

References $args, and ObjectFactory\constructClassInstance().

ObjectFactoryTest::testGetObjectFromClass (   $args)

ObjectFactory::getObjectFromSpec provideConstructClassInstance.

Definition at line 114 of file ObjectFactoryTest.php.

References $args, and ObjectFactory\getObjectFromSpec().

ObjectFactoryTest::testGetObjectFromFactory ( )
ObjectFactoryTest::testGetObjectFromInvalid ( )

ObjectFactory::getObjectFromSpec InvalidArgumentException.

Definition at line 102 of file ObjectFactoryTest.php.

References $args, and ObjectFactory\getObjectFromSpec().

ObjectFactoryTest::testNamedArgs ( )

ObjectFactory::constructClassInstance InvalidArgumentException.

Definition at line 155 of file ObjectFactoryTest.php.

References $args, and ObjectFactory\constructClassInstance().


The documentation for this class was generated from the following file: