PHP Class Alltube\Test\ConfigTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: rudloff/alltube

Public Methods

Method Description
testGetInstance ( ) : void Test the getInstance function.
testGetInstanceWithEnv ( ) : void Test the getInstance function with the CONVERT environment variable.
testGetInstanceWithMissingFile ( ) : void Test the getInstance function with a missing config file.

Protected Methods

Method Description
setUp ( ) Prepare tests.

Method Details

setUp() protected method

Prepare tests.
protected setUp ( )

testGetInstance() public method

Test the getInstance function.
public testGetInstance ( ) : void
return void

testGetInstanceWithEnv() public method

Test the getInstance function with the CONVERT environment variable.
public testGetInstanceWithEnv ( ) : void
return void

testGetInstanceWithMissingFile() public method

Test the getInstance function with a missing config file.