public function testInvocationIsNotCalledWithoutProceed()
{
$sequence = [];
$advice = $this->getAdvice($sequence);
// advice will not call Invocation->proceed()
$invocation = $this->getInvocation($sequence);
$interceptor = new AroundInterceptor($advice);
$result = $interceptor->invoke($invocation);
$this->assertEquals('advice', $result, "Advice should change the return value of invocation");
$this->assertEquals(array('advice'), $sequence, "Only advice should be invoked");
}