Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\Tests\Utils\Mock\ConfigurableStub Class Reference
Collaboration diagram for SMW\Tests\Utils\Mock\ConfigurableStub:
Collaboration graph
[legend]

Public Member Functions

 createConfiguredAbstractStub ($originalClassName, array $configuration)
 
 createConfiguredStub ($originalClassName, array $configuration)
 

Detailed Description

Convenience stub builder, PHPUnit_Framework_TestCase::createConfiguredMock (PHPUnit 5.6) semantic-mediawiki

GNU GPL v2+

Since
2.5

Member Function Documentation

SMW\Tests\Utils\Mock\ConfigurableStub::createConfiguredAbstractStub (   $originalClassName,
array  $configuration 
)
Since
2.5
Parameters
$originalClassName
array$configuration
Returns
PHPUnit_Framework_MockObject_MockObject
SMW\Tests\Utils\Mock\ConfigurableStub::createConfiguredStub (   $originalClassName,
array  $configuration 
)
Since
2.5
Parameters
$originalClassName
array$configuration
Returns
PHPUnit_Framework_MockObject_MockObject

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