PHP Class PhpBench\Tests\Unit\Console\Command\UpdateCommandTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: dantleech/phpbench

Public Methods

Method Description
setUp ( )
testUpdate ( ) It should update the PHAR.
testUpdateNotRequired ( ) It should show a message if no update is required.
testUpdateRollback ( ) It should rollback.
testUpdateRollbackError ( ) It should show an error if it could not roll back.

Method Details

setUp() public method

public setUp ( )

testUpdate() public method

It should update the PHAR.
public testUpdate ( )

testUpdateNotRequired() public method

It should show a message if no update is required.

testUpdateRollback() public method

It should rollback.
public testUpdateRollback ( )

testUpdateRollbackError() public method

It should show an error if it could not roll back.