PHP Class ZFTest\OAuth2\Factory\OAuth2ServerFactoryTest

Inheritance: extends Zend\Test\PHPUnit\Controller\AbstractHttpControllerTestCase
Show file Open project: zfcampus/zf-oauth2

Protected Properties

Property Type Description
$factory ZF\OAuth2\Factory\OAuth2ServerFactory
$services Zend\ServiceManager\ServiceManager

Public Methods

Method Description
testExceptionThrownOnMissingStorageClass ( )
testServiceCreatedWithDefaults ( )
testServiceCreatedWithOverriddenValues ( )
testServiceCreatedWithOverriddenValuesInOptionsSubArray ( )
testServiceCreatedWithSelectedGrandTypes ( )
testServiceCreatedWithStoragesAsArray ( )
testSubsequentCallsReturnTheSameInstance ( )

Protected Methods

Method Description
setUp ( )

Method Details

setUp() protected method

protected setUp ( )

testExceptionThrownOnMissingStorageClass() public method

testServiceCreatedWithDefaults() public method

testServiceCreatedWithOverriddenValues() public method

testServiceCreatedWithOverriddenValuesInOptionsSubArray() public method

testServiceCreatedWithSelectedGrandTypes() public method

testServiceCreatedWithStoragesAsArray() public method

testSubsequentCallsReturnTheSameInstance() public method

Property Details

$factory protected property

protected OAuth2ServerFactory,ZF\OAuth2\Factory $factory
return ZF\OAuth2\Factory\OAuth2ServerFactory

$services protected property

protected ServiceManager,Zend\ServiceManager $services
return Zend\ServiceManager\ServiceManager