PHP Class Tests\BuilderTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: zumba/swivel

Méthodes publiques

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

Méthodes protégées

Méthode 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

Méthode 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 méthode

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

protectedStaticMethod() protected static méthode

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

testAddBehaviorEnabled() public méthode

testAddBehaviorNotEnabled() public méthode

testAddValueEnabled() public méthode

public testAddValueEnabled ( )

testAddValueNotEnabled() public méthode

testDefaultBehavior() public méthode

public testDefaultBehavior ( )

testDefaultBehaviorThrowsIfNoDefaultCalledFirst() public méthode

testDefaultValue() public méthode

public testDefaultValue ( )

testDefaultValueThrowsIfNoDefaultCalledFirst() public méthode

testExecute() public méthode

public testExecute ( )

testGetBehavior() public méthode

public testGetBehavior ( )

testGetBehaviorPrivateMethod() public méthode

testGetBehaviorPrivateStaticMethod() public méthode

testGetBehaviorProtectedMethod() public méthode

testGetBehaviorProtectedStaticMethod() public méthode

testGetBehaviorThrowsIfStrategyNotCallable() public méthode

testNoDefaultThrowsIfDefaultBehaviorDefined() public méthode

testNoDefaultThrowsIfDefaultValueDefined() public méthode