PHP Class ScriptFUSIONTest\Unit\Porter\Provider\AbstractProviderTest

Inheritance: extends PHPUnit_Framework_TestCase, use trait Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration
Show file Open project: ScriptFUSION/Porter

Public Methods

Method Description
testCacheDisabledWhenConnectorDoesNotSupportCaching ( )
testCacheEnabledMirrorsCachingConnector ( )
testDisableCacheFails ( )
testDisableCacheSucceeds ( )
testEnableCacheFails ( )
testEnableCacheSucceeds ( )
testFetchForeignProvider ( )
testFetchWithOptions ( ) Tests that a clone of the provider's options are passed to ProviderResource::fetch().
testFetchWithoutOptions ( )
testGetConnector ( )
testOptions ( )

Protected Methods

Method Description
setUp ( )

Private Methods

Method Description
createProviderMock ( $connector = null )
getOptions ( )
setOptions ( EncapsulatedOptions $options )
setupCachingConnector ( )

Method Details

setUp() protected method

protected setUp ( )

testCacheDisabledWhenConnectorDoesNotSupportCaching() public method

testCacheEnabledMirrorsCachingConnector() public method

testDisableCacheFails() public method

testDisableCacheSucceeds() public method

testEnableCacheFails() public method

testEnableCacheSucceeds() public method

testFetchForeignProvider() public method

testFetchWithOptions() public method

Tests that a clone of the provider's options are passed to ProviderResource::fetch().

testFetchWithoutOptions() public method

testGetConnector() public method

public testGetConnector ( )

testOptions() public method

public testOptions ( )