diff --git a/tests/009-rayaop-final.phpt b/tests/009-rayaop-final.phpt index 6722e22..2cc60c5 100644 --- a/tests/009-rayaop-final.phpt +++ b/tests/009-rayaop-final.phpt @@ -24,7 +24,7 @@ class TestInterceptor implements Ray\Aop\MethodInterceptorInterface { method_intercept_init(); // Verify initialization -var_dump(method_intercept_enable()); +method_intercept_enable(true); method_intercept(FinalTestClass::class, 'finalMethod', new TestInterceptor()); @@ -43,4 +43,7 @@ method_intercept_enable(false); --EXPECT-- Before final method After final method -Result: Final method: test \ No newline at end of file +Result: Final method: test +Before final method +After final method +Null test: Final method: \ No newline at end of file