PHP Class FBMock_MockImplementation

Afficher le fichier Open project: facebook/fbmock

Méthodes publiques

Méthode Description
__construct ( $class_name )
getCalls ( $double, $method )
processMethodCall ( $double, $method, array $args = [] )
setImplementation ( $double, $method, $callable )
setStrictMock ( )

Méthodes protégées

Méthode Description
assertMethodExists ( $double, $method_name )

Private Methods

Méthode Description
getStub ( $method_name )

Method Details

__construct() public méthode

public __construct ( $class_name )

assertMethodExists() protected méthode

protected assertMethodExists ( $double, $method_name )

getCalls() public méthode

public getCalls ( $double, $method )

processMethodCall() public méthode

public processMethodCall ( $double, $method, array $args = [] )
$args array

setImplementation() public méthode

public setImplementation ( $double, $method, $callable )

setStrictMock() public méthode

public setStrictMock ( )