PHP Class FBMock_MockImplementation

Datei anzeigen Open project: facebook/fbmock

Public Methods

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

Protected Methods

Method Description
assertMethodExists ( $double, $method_name )

Private Methods

Method Description
getStub ( $method_name )

Method Details

__construct() public method

public __construct ( $class_name )

assertMethodExists() protected method

protected assertMethodExists ( $double, $method_name )

getCalls() public method

public getCalls ( $double, $method )

processMethodCall() public method

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

setImplementation() public method

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

setStrictMock() public method

public setStrictMock ( )