PHP Class Go\Aop\Framework\AbstractInterceptorTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: goaop/framework

Méthodes protégées

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

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

getInvocation() protected méthode

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
Résultat PHPUnit_Framework_MockObject_MockObject | Go\Aop\Intercept\Invocation