PHP Class Tests\AcmePhp\Cli\AbstractApplicationTest

Inheritance: extends PHPUnit_Framework_TestCase
Mostrar archivo Open project: acmephp/acmephp Class Usage Examples

Protected Properties

Property Type Description
$application Tests\AcmePhp\Cli\Mock\AbstractTestApplication

Public Methods

Method Description
setUp ( )
tearDown ( )
testAuthorizeWithoutKeyFail ( )
testCheckWithoutKeyFail ( )
testFullProcess ( )
testRequestWithoutKeyFail ( )

Protected Methods

Method Description
createApplication ( ) : AbstractTestApplication
getFixturesDirectories ( ) : array

Private Methods

Method Description
cleanContext ( ) Remove fixtures files and directories to have a clean context.
createServerProcess ( string $token, string $payload ) : Process

Method Details

createApplication() abstract protected method

getFixturesDirectories() abstract protected method

abstract protected getFixturesDirectories ( ) : array
return array

setUp() public method

public setUp ( )

tearDown() public method

public tearDown ( )

testAuthorizeWithoutKeyFail() public method

testCheckWithoutKeyFail() public method

testFullProcess() public method

public testFullProcess ( )

testRequestWithoutKeyFail() public method

Property Details

$application protected_oe property

protected AbstractTestApplication,Tests\AcmePhp\Cli\Mock $application
return Tests\AcmePhp\Cli\Mock\AbstractTestApplication