PHP Class Go\Aop\Framework\AbstractInterceptorTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: goaop/framework

Protected Methods

Method Description
getAdvice ( array &$sequenceRecorder ) : callable Returns a test advice that writes itself to the sequence
getInvocation ( array &$sequenceRecorder, $throwException = false ) : PHPUnit_Framework_MockObject_MockObject | Go\Aop\Intercept\Invocation Returns an empty invocation that can update the sequence on invocation

Method Details

getAdvice() protected method

Returns a test advice that writes itself to the sequence
protected getAdvice ( array &$sequenceRecorder ) : callable
$sequenceRecorder array
return callable

getInvocation() protected method

Returns an empty invocation that can update the sequence on invocation
protected getInvocation ( array &$sequenceRecorder, $throwException = false ) : PHPUnit_Framework_MockObject_MockObject | Go\Aop\Intercept\Invocation
$sequenceRecorder array
return PHPUnit_Framework_MockObject_MockObject | Go\Aop\Intercept\Invocation