PHP Class Tests\BuilderTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: zumba/swivel

Public Methods

Method Description
testAddBehaviorEnabled ( )
testAddBehaviorNotEnabled ( )
testAddValueEnabled ( )
testAddValueNotEnabled ( )
testDefaultBehavior ( )
testDefaultBehaviorThrowsIfNoDefaultCalledFirst ( )
testDefaultValue ( )
testDefaultValueThrowsIfNoDefaultCalledFirst ( )
testExecute ( )
testGetBehavior ( )
testGetBehaviorPrivateMethod ( )
testGetBehaviorPrivateStaticMethod ( )
testGetBehaviorProtectedMethod ( )
testGetBehaviorProtectedStaticMethod ( )
testGetBehaviorThrowsIfStrategyNotCallable ( )
testNoDefaultThrowsIfDefaultBehaviorDefined ( )
testNoDefaultThrowsIfDefaultValueDefined ( )

Protected Methods

Method Description
protectedMethod ( string $arg1, string $arg2 ) : string Used for testing that protected method is called with proper arguments.
protectedStaticMethod ( string $arg1, string $arg2 ) : string Used for testing that protected static method is called with proper arguments.

Private Methods

Method Description
privateMethod ( string $arg1, string $arg2 ) : string Used for testing that private method is called with proper arguments.
privateStaticMethod ( string $arg1, string $arg2 ) : string Used for testing that private static method is called with proper arguments.

Method Details

protectedMethod() protected method

Used for testing that protected method is called with proper arguments.
protected protectedMethod ( string $arg1, string $arg2 ) : string
$arg1 string
$arg2 string
return string Args concatenated together

protectedStaticMethod() protected static method

Used for testing that protected static method is called with proper arguments.
protected static protectedStaticMethod ( string $arg1, string $arg2 ) : string
$arg1 string
$arg2 string
return string Args concatenated together

testAddBehaviorEnabled() public method

testAddBehaviorNotEnabled() public method

testAddValueEnabled() public method

public testAddValueEnabled ( )

testAddValueNotEnabled() public method

testDefaultBehavior() public method

public testDefaultBehavior ( )

testDefaultBehaviorThrowsIfNoDefaultCalledFirst() public method

testDefaultValue() public method

public testDefaultValue ( )

testDefaultValueThrowsIfNoDefaultCalledFirst() public method

testExecute() public method

public testExecute ( )

testGetBehavior() public method

public testGetBehavior ( )

testGetBehaviorPrivateMethod() public method

testGetBehaviorPrivateStaticMethod() public method

testGetBehaviorProtectedMethod() public method

testGetBehaviorProtectedStaticMethod() public method

testGetBehaviorThrowsIfStrategyNotCallable() public method

testNoDefaultThrowsIfDefaultBehaviorDefined() public method

testNoDefaultThrowsIfDefaultValueDefined() public method